1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 14:47:29 +00:00

Move fragments to their proper place

This commit is contained in:
Ammar Githam 2020-09-06 02:05:43 +09:00
parent 89bb79a8fc
commit d967463493
6 changed files with 11 additions and 6 deletions

View File

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

View File

@ -1,4 +1,4 @@
package awais.instagrabber.activities; package awais.instagrabber.fragments;
import android.content.DialogInterface; import android.content.DialogInterface;
import android.content.Intent; import android.content.Intent;
@ -33,6 +33,9 @@ import androidx.navigation.fragment.NavHostFragment;
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout; import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;
import awais.instagrabber.R; 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.adapters.CommentsAdapter;
import awais.instagrabber.asyncs.CommentsFetcher; import awais.instagrabber.asyncs.CommentsFetcher;
import awais.instagrabber.databinding.FragmentCommentsBinding; import awais.instagrabber.databinding.FragmentCommentsBinding;

View File

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

View File

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

View File

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

View File

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