Browse Source

Move viewmodels package to root directory

renovate/org.robolectric-robolectric-4.x
Ammar Githam 4 years ago
parent
commit
6b0fe3ff78
  1. 2
      app/src/main/java/awais/instagrabber/fragments/HashTagFragment.java
  2. 2
      app/src/main/java/awais/instagrabber/fragments/LocationFragment.java
  3. 2
      app/src/main/java/awais/instagrabber/fragments/PostViewFragment.java
  4. 2
      app/src/main/java/awais/instagrabber/fragments/SavedViewerFragment.java
  5. 6
      app/src/main/java/awais/instagrabber/fragments/StoryViewerFragment.java
  6. 2
      app/src/main/java/awais/instagrabber/fragments/main/DiscoverFragment.java
  7. 4
      app/src/main/java/awais/instagrabber/fragments/main/FeedFragment.java
  8. 4
      app/src/main/java/awais/instagrabber/fragments/main/ProfileFragment.java
  9. 2
      app/src/main/java/awais/instagrabber/viewmodels/BasePostViewModel.java
  10. 2
      app/src/main/java/awais/instagrabber/viewmodels/DiscoverItemViewModel.java
  11. 2
      app/src/main/java/awais/instagrabber/viewmodels/FeedStoriesViewModel.java
  12. 2
      app/src/main/java/awais/instagrabber/viewmodels/FeedViewModel.java
  13. 2
      app/src/main/java/awais/instagrabber/viewmodels/HighlightsViewModel.java
  14. 2
      app/src/main/java/awais/instagrabber/viewmodels/PostsViewModel.java
  15. 2
      app/src/main/java/awais/instagrabber/viewmodels/StoriesViewModel.java
  16. 2
      app/src/main/java/awais/instagrabber/viewmodels/ViewerPostViewModel.java

2
app/src/main/java/awais/instagrabber/fragments/HashTagFragment.java

@ -44,7 +44,7 @@ import awais.instagrabber.customviews.helpers.GridSpacingItemDecoration;
import awais.instagrabber.customviews.helpers.NestedCoordinatorLayout;
import awais.instagrabber.customviews.helpers.RecyclerLazyLoader;
import awais.instagrabber.databinding.FragmentHashtagBinding;
import awais.instagrabber.fragments.main.viewmodels.PostsViewModel;
import awais.instagrabber.viewmodels.PostsViewModel;
import awais.instagrabber.interfaces.FetchListener;
import awais.instagrabber.models.HashtagModel;
import awais.instagrabber.models.PostModel;

2
app/src/main/java/awais/instagrabber/fragments/LocationFragment.java

@ -44,7 +44,7 @@ import awais.instagrabber.customviews.helpers.GridSpacingItemDecoration;
import awais.instagrabber.customviews.helpers.NestedCoordinatorLayout;
import awais.instagrabber.customviews.helpers.RecyclerLazyLoader;
import awais.instagrabber.databinding.FragmentLocationBinding;
import awais.instagrabber.fragments.main.viewmodels.PostsViewModel;
import awais.instagrabber.viewmodels.PostsViewModel;
import awais.instagrabber.interfaces.FetchListener;
import awais.instagrabber.models.LocationModel;
import awais.instagrabber.models.PostModel;

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

@ -30,7 +30,7 @@ import awais.instagrabber.adapters.PostViewAdapter.OnPostViewChildViewClickListe
import awais.instagrabber.asyncs.PostFetcher;
import awais.instagrabber.asyncs.i.iPostFetcher;
import awais.instagrabber.databinding.FragmentPostViewBinding;
import awais.instagrabber.fragments.main.viewmodels.ViewerPostViewModel;
import awais.instagrabber.viewmodels.ViewerPostViewModel;
import awais.instagrabber.interfaces.FetchListener;
import awais.instagrabber.interfaces.MentionClickListener;
import awais.instagrabber.models.ViewerPostModel;

2
app/src/main/java/awais/instagrabber/fragments/SavedViewerFragment.java

@ -40,7 +40,7 @@ import awais.instagrabber.customviews.helpers.GridSpacingItemDecoration;
import awais.instagrabber.customviews.helpers.RecyclerLazyLoader;
import awais.instagrabber.databinding.FragmentSavedBinding;
import awais.instagrabber.fragments.main.ProfileFragmentDirections;
import awais.instagrabber.fragments.main.viewmodels.PostsViewModel;
import awais.instagrabber.viewmodels.PostsViewModel;
import awais.instagrabber.interfaces.FetchListener;
import awais.instagrabber.models.PostModel;
import awais.instagrabber.models.enums.DownloadMethod;

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

@ -70,9 +70,9 @@ import awais.instagrabber.asyncs.VoteAction;
import awais.instagrabber.asyncs.direct_messages.DirectThreadBroadcaster;
import awais.instagrabber.customviews.helpers.SwipeGestureListener;
import awais.instagrabber.databinding.ActivityStoryViewerBinding;
import awais.instagrabber.fragments.main.viewmodels.FeedStoriesViewModel;
import awais.instagrabber.fragments.main.viewmodels.HighlightsViewModel;
import awais.instagrabber.fragments.main.viewmodels.StoriesViewModel;
import awais.instagrabber.viewmodels.FeedStoriesViewModel;
import awais.instagrabber.viewmodels.HighlightsViewModel;
import awais.instagrabber.viewmodels.StoriesViewModel;
import awais.instagrabber.interfaces.SwipeEvent;
import awais.instagrabber.models.FeedStoryModel;
import awais.instagrabber.models.HighlightModel;

2
app/src/main/java/awais/instagrabber/fragments/main/DiscoverFragment.java

@ -36,7 +36,7 @@ import awais.instagrabber.customviews.helpers.GridAutofitLayoutManager;
import awais.instagrabber.customviews.helpers.GridSpacingItemDecoration;
import awais.instagrabber.customviews.helpers.RecyclerLazyLoader;
import awais.instagrabber.databinding.FragmentDiscoverBinding;
import awais.instagrabber.fragments.main.viewmodels.DiscoverItemViewModel;
import awais.instagrabber.viewmodels.DiscoverItemViewModel;
import awais.instagrabber.interfaces.FetchListener;
import awais.instagrabber.models.DiscoverItemModel;
import awais.instagrabber.models.DiscoverTopicModel;

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

@ -44,8 +44,8 @@ import awais.instagrabber.customviews.RamboTextView;
import awais.instagrabber.customviews.helpers.RecyclerLazyLoader;
import awais.instagrabber.customviews.helpers.VideoAwareRecyclerScroller;
import awais.instagrabber.databinding.FragmentFeedBinding;
import awais.instagrabber.fragments.main.viewmodels.FeedStoriesViewModel;
import awais.instagrabber.fragments.main.viewmodels.FeedViewModel;
import awais.instagrabber.viewmodels.FeedStoriesViewModel;
import awais.instagrabber.viewmodels.FeedViewModel;
import awais.instagrabber.interfaces.FetchListener;
import awais.instagrabber.interfaces.MentionClickListener;
import awais.instagrabber.models.BasePostModel;

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

@ -57,8 +57,8 @@ import awais.instagrabber.customviews.helpers.GridAutofitLayoutManager;
import awais.instagrabber.customviews.helpers.GridSpacingItemDecoration;
import awais.instagrabber.customviews.helpers.RecyclerLazyLoader;
import awais.instagrabber.databinding.FragmentProfileBinding;
import awais.instagrabber.fragments.main.viewmodels.HighlightsViewModel;
import awais.instagrabber.fragments.main.viewmodels.PostsViewModel;
import awais.instagrabber.viewmodels.HighlightsViewModel;
import awais.instagrabber.viewmodels.PostsViewModel;
import awais.instagrabber.interfaces.FetchListener;
import awais.instagrabber.interfaces.MentionClickListener;
import awais.instagrabber.models.PostModel;

2
app/src/main/java/awais/instagrabber/fragments/main/viewmodels/BasePostViewModel.java → app/src/main/java/awais/instagrabber/viewmodels/BasePostViewModel.java

@ -1,4 +1,4 @@
package awais.instagrabber.fragments.main.viewmodels;
package awais.instagrabber.viewmodels;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

2
app/src/main/java/awais/instagrabber/fragments/main/viewmodels/DiscoverItemViewModel.java → app/src/main/java/awais/instagrabber/viewmodels/DiscoverItemViewModel.java

@ -1,4 +1,4 @@
package awais.instagrabber.fragments.main.viewmodels;
package awais.instagrabber.viewmodels;
import awais.instagrabber.models.DiscoverItemModel;

2
app/src/main/java/awais/instagrabber/fragments/main/viewmodels/FeedStoriesViewModel.java → app/src/main/java/awais/instagrabber/viewmodels/FeedStoriesViewModel.java

@ -1,4 +1,4 @@
package awais.instagrabber.fragments.main.viewmodels;
package awais.instagrabber.viewmodels;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

2
app/src/main/java/awais/instagrabber/fragments/main/viewmodels/FeedViewModel.java → app/src/main/java/awais/instagrabber/viewmodels/FeedViewModel.java

@ -1,4 +1,4 @@
package awais.instagrabber.fragments.main.viewmodels;
package awais.instagrabber.viewmodels;
import awais.instagrabber.models.FeedModel;

2
app/src/main/java/awais/instagrabber/fragments/main/viewmodels/HighlightsViewModel.java → app/src/main/java/awais/instagrabber/viewmodels/HighlightsViewModel.java

@ -1,4 +1,4 @@
package awais.instagrabber.fragments.main.viewmodels;
package awais.instagrabber.viewmodels;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

2
app/src/main/java/awais/instagrabber/fragments/main/viewmodels/PostsViewModel.java → app/src/main/java/awais/instagrabber/viewmodels/PostsViewModel.java

@ -1,4 +1,4 @@
package awais.instagrabber.fragments.main.viewmodels;
package awais.instagrabber.viewmodels;
import awais.instagrabber.models.PostModel;

2
app/src/main/java/awais/instagrabber/fragments/main/viewmodels/StoriesViewModel.java → app/src/main/java/awais/instagrabber/viewmodels/StoriesViewModel.java

@ -1,4 +1,4 @@
package awais.instagrabber.fragments.main.viewmodels;
package awais.instagrabber.viewmodels;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

2
app/src/main/java/awais/instagrabber/fragments/main/viewmodels/ViewerPostViewModel.java → app/src/main/java/awais/instagrabber/viewmodels/ViewerPostViewModel.java

@ -1,4 +1,4 @@
package awais.instagrabber.fragments.main.viewmodels;
package awais.instagrabber.viewmodels;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
Loading…
Cancel
Save