Browse Source

Move fragments to their proper place

renovate/org.robolectric-robolectric-4.x
Ammar Githam 4 years ago
parent
commit
d967463493
  1. 2
      app/src/main/java/awais/instagrabber/MainHelper.java
  2. 5
      app/src/main/java/awais/instagrabber/fragments/CommentsViewerFragment.java
  3. 4
      app/src/main/java/awais/instagrabber/fragments/FollowViewerFragment.java
  4. 2
      app/src/main/res/layout/fragment_followers_viewer.xml
  5. 2
      app/src/main/res/navigation/comments_nav_graph.xml
  6. 2
      app/src/main/res/navigation/profile_nav_graph.xml

2
app/src/main/java/awais/instagrabber/MainHelper.java

@ -49,7 +49,7 @@
// import java.util.HashMap;
// import java.util.Map;
//
// import awais.instagrabber.activities.CommentsViewerFragment;
// import awais.instagrabber.fragments.CommentsViewerFragment;
// import awais.instagrabber.activities.MainActivityBackup;
// import awais.instagrabber.activities.PostViewer;
// import awais.instagrabber.adapters.DiscoverAdapter;

5
app/src/main/java/awais/instagrabber/activities/CommentsViewerFragment.java → app/src/main/java/awais/instagrabber/fragments/CommentsViewerFragment.java

@ -1,4 +1,4 @@
package awais.instagrabber.activities;
package awais.instagrabber.fragments;
import android.content.DialogInterface;
import android.content.Intent;
@ -33,6 +33,9 @@ import androidx.navigation.fragment.NavHostFragment;
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;
import awais.instagrabber.R;
import awais.instagrabber.activities.CommentsViewerFragmentArgs;
import awais.instagrabber.activities.CommentsViewerFragmentDirections;
import awais.instagrabber.activities.ProfilePicViewer;
import awais.instagrabber.adapters.CommentsAdapter;
import awais.instagrabber.asyncs.CommentsFetcher;
import awais.instagrabber.databinding.FragmentCommentsBinding;

4
app/src/main/java/awais/instagrabber/activities/FollowViewerFragment.java → app/src/main/java/awais/instagrabber/fragments/FollowViewerFragment.java

@ -1,4 +1,4 @@
package awais.instagrabber.activities;
package awais.instagrabber.fragments;
import android.content.res.Resources;
import android.os.AsyncTask;
@ -25,6 +25,8 @@ import java.util.Arrays;
import awais.instagrabber.BuildConfig;
import awais.instagrabber.R;
import awais.instagrabber.activities.FollowViewerFragmentArgs;
import awais.instagrabber.activities.FollowViewerFragmentDirections;
import awais.instagrabber.adapters.FollowAdapter;
import awais.instagrabber.asyncs.FollowFetcher;
import awais.instagrabber.databinding.FragmentFollowersViewerBinding;

2
app/src/main/res/layout/fragment_followers_viewer.xml

@ -5,7 +5,7 @@
android:id="@+id/swipeRefreshLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".activities.FollowViewerFragment">
tools:context=".fragments.FollowViewerFragment">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rvFollow"

2
app/src/main/res/navigation/comments_nav_graph.xml

@ -29,7 +29,7 @@
<fragment
android:id="@+id/commentsViewerFragment"
android:name="awais.instagrabber.activities.CommentsViewerFragment"
android:name="awais.instagrabber.fragments.CommentsViewerFragment"
android:label="Comments"
tools:layout="@layout/fragment_comments">
<argument

2
app/src/main/res/navigation/profile_nav_graph.xml

@ -81,7 +81,7 @@
</fragment>
<fragment
android:id="@+id/followViewerFragment"
android:name="awais.instagrabber.activities.FollowViewerFragment"
android:name="awais.instagrabber.fragments.FollowViewerFragment"
android:label="Followers"
tools:layout="@layout/fragment_followers_viewer">
<argument

Loading…
Cancel
Save