Browse Source

Rename services package to webservices to avoid confusion with native Android services

renovate/org.robolectric-robolectric-4.x
Ammar Githam 4 years ago
parent
commit
60d9e64a57
  1. 4
      app/src/main/java/awais/instagrabber/fragments/CommentsViewerFragment.java
  2. 6
      app/src/main/java/awais/instagrabber/fragments/NotificationsViewerFragment.java
  3. 4
      app/src/main/java/awais/instagrabber/fragments/PostViewFragment.java
  4. 4
      app/src/main/java/awais/instagrabber/fragments/StoryViewerFragment.java
  5. 4
      app/src/main/java/awais/instagrabber/fragments/main/FeedFragment.java
  6. 4
      app/src/main/java/awais/instagrabber/fragments/main/ProfileFragment.java
  7. 4
      app/src/main/java/awais/instagrabber/fragments/settings/MorePreferencesFragment.java
  8. 2
      app/src/main/java/awais/instagrabber/webservices/AddCookiesInterceptor.java
  9. 2
      app/src/main/java/awais/instagrabber/webservices/BaseService.java
  10. 2
      app/src/main/java/awais/instagrabber/webservices/FriendshipService.java
  11. 2
      app/src/main/java/awais/instagrabber/webservices/LoggingInterceptor.java
  12. 2
      app/src/main/java/awais/instagrabber/webservices/MediaService.java
  13. 2
      app/src/main/java/awais/instagrabber/webservices/NewsService.java
  14. 2
      app/src/main/java/awais/instagrabber/webservices/ProfileService.java
  15. 2
      app/src/main/java/awais/instagrabber/webservices/ServiceCallback.java
  16. 2
      app/src/main/java/awais/instagrabber/webservices/StoriesService.java

4
app/src/main/java/awais/instagrabber/fragments/CommentsViewerFragment.java

@ -41,8 +41,8 @@ import awais.instagrabber.dialogs.ProfilePicDialogFragment;
import awais.instagrabber.interfaces.MentionClickListener;
import awais.instagrabber.models.CommentModel;
import awais.instagrabber.models.ProfileModel;
import awais.instagrabber.services.MediaService;
import awais.instagrabber.services.ServiceCallback;
import awais.instagrabber.webservices.MediaService;
import awais.instagrabber.webservices.ServiceCallback;
import awais.instagrabber.utils.Constants;
import awais.instagrabber.utils.CookieUtils;
import awais.instagrabber.utils.TextUtils;

6
app/src/main/java/awais/instagrabber/fragments/NotificationsViewerFragment.java

@ -31,9 +31,9 @@ import awais.instagrabber.fragments.settings.MorePreferencesFragmentDirections;
import awais.instagrabber.interfaces.MentionClickListener;
import awais.instagrabber.models.enums.NotificationType;
import awais.instagrabber.repositories.responses.FriendshipRepoChangeRootResponse;
import awais.instagrabber.services.FriendshipService;
import awais.instagrabber.services.NewsService;
import awais.instagrabber.services.ServiceCallback;
import awais.instagrabber.webservices.FriendshipService;
import awais.instagrabber.webservices.NewsService;
import awais.instagrabber.webservices.ServiceCallback;
import awais.instagrabber.utils.Constants;
import awais.instagrabber.utils.CookieUtils;
import awais.instagrabber.utils.TextUtils;

4
app/src/main/java/awais/instagrabber/fragments/PostViewFragment.java

@ -35,8 +35,8 @@ import awais.instagrabber.interfaces.MentionClickListener;
import awais.instagrabber.models.ViewerPostModel;
import awais.instagrabber.models.ViewerPostModelWrapper;
import awais.instagrabber.models.enums.DownloadMethod;
import awais.instagrabber.services.MediaService;
import awais.instagrabber.services.ServiceCallback;
import awais.instagrabber.webservices.MediaService;
import awais.instagrabber.webservices.ServiceCallback;
import awais.instagrabber.utils.Constants;
import awais.instagrabber.utils.CookieUtils;
import awais.instagrabber.utils.DownloadUtils;

4
app/src/main/java/awais/instagrabber/fragments/StoryViewerFragment.java

@ -78,8 +78,8 @@ import awais.instagrabber.models.enums.MediaItemType;
import awais.instagrabber.models.stickers.PollModel;
import awais.instagrabber.models.stickers.QuestionModel;
import awais.instagrabber.models.stickers.QuizModel;
import awais.instagrabber.services.ServiceCallback;
import awais.instagrabber.services.StoriesService;
import awais.instagrabber.webservices.ServiceCallback;
import awais.instagrabber.webservices.StoriesService;
import awais.instagrabber.utils.Constants;
import awais.instagrabber.utils.CookieUtils;
import awais.instagrabber.utils.DownloadUtils;

4
app/src/main/java/awais/instagrabber/fragments/main/FeedFragment.java

@ -54,8 +54,8 @@ import awais.instagrabber.models.ProfileModel;
import awais.instagrabber.models.ViewerPostModel;
import awais.instagrabber.models.enums.DownloadMethod;
import awais.instagrabber.models.enums.MediaItemType;
import awais.instagrabber.services.ServiceCallback;
import awais.instagrabber.services.StoriesService;
import awais.instagrabber.webservices.ServiceCallback;
import awais.instagrabber.webservices.StoriesService;
import awais.instagrabber.utils.Constants;
import awais.instagrabber.utils.DownloadUtils;
import awais.instagrabber.utils.NumberUtils;

4
app/src/main/java/awais/instagrabber/fragments/main/ProfileFragment.java

@ -73,8 +73,8 @@ import awais.instagrabber.models.enums.DownloadMethod;
import awais.instagrabber.models.enums.PostItemType;
import awais.instagrabber.repositories.responses.FriendshipRepoChangeRootResponse;
import awais.instagrabber.repositories.responses.FriendshipRepoRestrictRootResponse;
import awais.instagrabber.services.FriendshipService;
import awais.instagrabber.services.ServiceCallback;
import awais.instagrabber.webservices.FriendshipService;
import awais.instagrabber.webservices.ServiceCallback;
import awais.instagrabber.utils.Constants;
import awais.instagrabber.utils.CookieUtils;
import awais.instagrabber.utils.DataBox;

4
app/src/main/java/awais/instagrabber/fragments/settings/MorePreferencesFragment.java

@ -31,8 +31,8 @@ import awais.instagrabber.adapters.AccountSwitcherListAdapter;
import awais.instagrabber.adapters.AccountSwitcherListAdapter.OnAccountClickListener;
import awais.instagrabber.databinding.PrefAccountSwitcherBinding;
import awais.instagrabber.repositories.responses.UserInfo;
import awais.instagrabber.services.ProfileService;
import awais.instagrabber.services.ServiceCallback;
import awais.instagrabber.webservices.ProfileService;
import awais.instagrabber.webservices.ServiceCallback;
import awais.instagrabber.utils.Constants;
import awais.instagrabber.utils.CookieUtils;
import awais.instagrabber.utils.DataBox;

2
app/src/main/java/awais/instagrabber/services/AddCookiesInterceptor.java → app/src/main/java/awais/instagrabber/webservices/AddCookiesInterceptor.java

@ -1,4 +1,4 @@
package awais.instagrabber.services;
package awais.instagrabber.webservices;
import androidx.annotation.NonNull;

2
app/src/main/java/awais/instagrabber/services/BaseService.java → app/src/main/java/awais/instagrabber/webservices/BaseService.java

@ -1,4 +1,4 @@
package awais.instagrabber.services;
package awais.instagrabber.webservices;
import com.google.gson.FieldNamingPolicy;
import com.google.gson.Gson;

2
app/src/main/java/awais/instagrabber/services/FriendshipService.java → app/src/main/java/awais/instagrabber/webservices/FriendshipService.java

@ -1,4 +1,4 @@
package awais.instagrabber.services;
package awais.instagrabber.webservices;
import androidx.annotation.NonNull;

2
app/src/main/java/awais/instagrabber/services/LoggingInterceptor.java → app/src/main/java/awais/instagrabber/webservices/LoggingInterceptor.java

@ -1,4 +1,4 @@
package awais.instagrabber.services;
package awais.instagrabber.webservices;
import android.util.Log;

2
app/src/main/java/awais/instagrabber/services/MediaService.java → app/src/main/java/awais/instagrabber/webservices/MediaService.java

@ -1,4 +1,4 @@
package awais.instagrabber.services;
package awais.instagrabber.webservices;
import android.text.TextUtils;
import android.util.Log;

2
app/src/main/java/awais/instagrabber/services/NewsService.java → app/src/main/java/awais/instagrabber/webservices/NewsService.java

@ -1,4 +1,4 @@
package awais.instagrabber.services;
package awais.instagrabber.webservices;
import androidx.annotation.NonNull;

2
app/src/main/java/awais/instagrabber/services/ProfileService.java → app/src/main/java/awais/instagrabber/webservices/ProfileService.java

@ -1,4 +1,4 @@
package awais.instagrabber.services;
package awais.instagrabber.webservices;
import android.util.Log;

2
app/src/main/java/awais/instagrabber/services/ServiceCallback.java → app/src/main/java/awais/instagrabber/webservices/ServiceCallback.java

@ -1,4 +1,4 @@
package awais.instagrabber.services;
package awais.instagrabber.webservices;
public interface ServiceCallback<T> {
void onSuccess(T result);

2
app/src/main/java/awais/instagrabber/services/StoriesService.java → app/src/main/java/awais/instagrabber/webservices/StoriesService.java

@ -1,4 +1,4 @@
package awais.instagrabber.services;
package awais.instagrabber.webservices;
import android.util.Log;
Loading…
Cancel
Save