2020-08-29 08:01:42 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/profile_nav_graph"
|
|
|
|
app:startDestination="@id/profileFragment">
|
2020-08-30 14:24:28 +00:00
|
|
|
|
2020-11-02 13:00:07 +00:00
|
|
|
<include app:graph="@navigation/comments_nav_graph" />
|
|
|
|
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_commentsViewerFragment"
|
|
|
|
app:destination="@id/comments_nav_graph">
|
|
|
|
<argument
|
|
|
|
android:name="shortCode"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
|
|
|
<argument
|
|
|
|
android:name="postId"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
|
|
|
<argument
|
|
|
|
android:name="postUserId"
|
2021-01-07 12:36:33 +00:00
|
|
|
app:argType="long" />
|
2020-11-02 13:00:07 +00:00
|
|
|
</action>
|
|
|
|
|
2020-12-20 20:52:09 +00:00
|
|
|
<include app:graph="@navigation/likes_nav_graph" />
|
|
|
|
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_likesViewerFragment"
|
|
|
|
app:destination="@id/likes_nav_graph">
|
|
|
|
<argument
|
|
|
|
android:name="postId"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
2020-12-26 18:14:08 +00:00
|
|
|
<argument
|
|
|
|
android:name="isComment"
|
|
|
|
app:argType="boolean"
|
|
|
|
app:nullable="false" />
|
2020-12-20 20:52:09 +00:00
|
|
|
</action>
|
|
|
|
|
2020-08-30 14:24:28 +00:00
|
|
|
<include app:graph="@navigation/hashtag_nav_graph" />
|
|
|
|
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_hashTagFragment"
|
|
|
|
app:destination="@id/hashtag_nav_graph">
|
|
|
|
<argument
|
|
|
|
android:name="hashtag"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
|
|
|
</action>
|
|
|
|
|
2020-09-04 17:38:36 +00:00
|
|
|
<include app:graph="@navigation/comments_nav_graph" />
|
|
|
|
|
2020-08-30 14:24:28 +00:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_profileFragment"
|
2020-09-23 03:15:57 +00:00
|
|
|
app:destination="@id/profile_nav_graph">
|
2020-08-30 14:24:28 +00:00
|
|
|
<argument
|
|
|
|
android:name="username"
|
2020-09-02 17:02:31 +00:00
|
|
|
android:defaultValue=""
|
2020-08-30 14:24:28 +00:00
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
|
|
|
</action>
|
|
|
|
|
2020-09-08 11:27:13 +00:00
|
|
|
<include app:graph="@navigation/location_nav_graph" />
|
|
|
|
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_locationFragment"
|
|
|
|
app:destination="@id/location_nav_graph">
|
|
|
|
<argument
|
|
|
|
android:name="locationId"
|
2021-01-07 12:36:33 +00:00
|
|
|
app:argType="long" />
|
2020-09-08 11:27:13 +00:00
|
|
|
</action>
|
|
|
|
|
2020-11-11 11:04:38 +00:00
|
|
|
<include app:graph="@navigation/notification_viewer_nav_graph" />
|
|
|
|
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_notificationsViewerFragment"
|
2020-12-30 18:26:16 +00:00
|
|
|
app:destination="@id/notification_viewer_nav_graph">
|
|
|
|
<argument
|
|
|
|
android:name="type"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
|
|
|
</action>
|
2020-11-11 11:04:38 +00:00
|
|
|
|
2020-08-29 08:01:42 +00:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/profileFragment"
|
|
|
|
android:name="awais.instagrabber.fragments.main.ProfileFragment"
|
|
|
|
android:label="@string/profile"
|
2020-09-02 17:02:31 +00:00
|
|
|
tools:layout="@layout/fragment_profile">
|
2020-08-30 14:24:28 +00:00
|
|
|
<argument
|
|
|
|
android:name="username"
|
2020-09-02 17:02:31 +00:00
|
|
|
android:defaultValue=""
|
2020-08-30 14:24:28 +00:00
|
|
|
app:argType="string"
|
2020-09-02 17:02:31 +00:00
|
|
|
app:nullable="true" />
|
2020-09-03 15:15:53 +00:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_profileFragment_to_savedViewerFragment"
|
|
|
|
app:destination="@id/savedViewerFragment" />
|
2020-09-04 18:19:06 +00:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_profileFragment_to_followViewerFragment"
|
|
|
|
app:destination="@id/followViewerFragment" />
|
2020-09-05 18:34:16 +00:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_profileFragment_to_storyViewerFragment"
|
|
|
|
app:destination="@id/storyViewerFragment" />
|
2020-09-23 03:15:57 +00:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_profileFragment_to_dMThreadFragment"
|
|
|
|
app:destination="@id/directMessagesThreadFragment" />
|
2020-09-03 15:15:53 +00:00
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/savedViewerFragment"
|
|
|
|
android:name="awais.instagrabber.fragments.SavedViewerFragment"
|
|
|
|
android:label="Saved"
|
|
|
|
tools:layout="@layout/fragment_saved">
|
|
|
|
<argument
|
|
|
|
android:name="username"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
|
|
|
<argument
|
|
|
|
android:name="profileId"
|
2021-01-07 12:36:33 +00:00
|
|
|
app:argType="long" />
|
2020-09-03 15:15:53 +00:00
|
|
|
<argument
|
|
|
|
android:name="type"
|
|
|
|
app:argType="awais.instagrabber.models.enums.PostItemType"
|
|
|
|
app:nullable="false" />
|
2020-08-30 14:24:28 +00:00
|
|
|
</fragment>
|
2020-09-04 18:19:06 +00:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/followViewerFragment"
|
2020-09-05 17:05:43 +00:00
|
|
|
android:name="awais.instagrabber.fragments.FollowViewerFragment"
|
2020-09-04 18:19:06 +00:00
|
|
|
android:label="Followers"
|
|
|
|
tools:layout="@layout/fragment_followers_viewer">
|
|
|
|
<argument
|
|
|
|
android:name="profileId"
|
2021-01-07 12:36:33 +00:00
|
|
|
app:argType="long" />
|
2020-09-04 18:19:06 +00:00
|
|
|
<argument
|
|
|
|
android:name="isFollowersList"
|
|
|
|
app:argType="boolean"
|
|
|
|
app:nullable="false" />
|
|
|
|
<argument
|
|
|
|
android:name="username"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_followViewerFragment_to_profileFragment"
|
|
|
|
app:destination="@id/profileFragment">
|
|
|
|
<argument
|
|
|
|
android:name="username"
|
|
|
|
android:defaultValue=""
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="true" />
|
|
|
|
</action>
|
|
|
|
</fragment>
|
2020-09-05 18:34:16 +00:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/storyViewerFragment"
|
|
|
|
android:name="awais.instagrabber.fragments.StoryViewerFragment"
|
|
|
|
android:label="StoryViewerFragment"
|
2020-09-12 08:22:11 +00:00
|
|
|
tools:layout="@layout/fragment_story_viewer">
|
2020-09-05 18:34:16 +00:00
|
|
|
<argument
|
|
|
|
android:name="feedStoryIndex"
|
|
|
|
app:argType="integer"
|
|
|
|
app:nullable="false" />
|
|
|
|
<argument
|
|
|
|
android:name="highlight"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="true" />
|
|
|
|
<argument
|
|
|
|
android:name="isHashtag"
|
|
|
|
app:argType="boolean" />
|
2020-09-26 00:15:46 +00:00
|
|
|
<argument
|
|
|
|
android:name="isLoc"
|
|
|
|
app:argType="boolean" />
|
2020-09-06 09:25:27 +00:00
|
|
|
<argument
|
|
|
|
android:name="profileId"
|
2021-01-07 12:36:33 +00:00
|
|
|
app:argType="long" />
|
2020-09-06 09:25:27 +00:00
|
|
|
<argument
|
|
|
|
android:name="username"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="true" />
|
2020-12-29 22:33:44 +00:00
|
|
|
<argument
|
|
|
|
android:name="isArchive"
|
|
|
|
app:argType="boolean"
|
|
|
|
app:nullable="false" />
|
2021-01-01 01:20:46 +00:00
|
|
|
<argument
|
|
|
|
android:name="isNotification"
|
|
|
|
app:argType="boolean"
|
|
|
|
app:nullable="false" />
|
2020-09-05 18:34:16 +00:00
|
|
|
</fragment>
|
2020-09-23 03:15:57 +00:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/directMessagesThreadFragment"
|
|
|
|
android:name="awais.instagrabber.fragments.directmessages.DirectMessageThreadFragment"
|
|
|
|
android:label="DirectMessagesThreadFragment"
|
|
|
|
tools:layout="@layout/fragment_direct_messages_thread">
|
|
|
|
<argument
|
|
|
|
android:name="threadId"
|
|
|
|
app:argType="string" />
|
|
|
|
<argument
|
|
|
|
android:name="title"
|
|
|
|
app:argType="string" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_dMThreadFragment_to_dMSettingsFragment"
|
|
|
|
app:destination="@id/directMessagesSettingsFragment" />
|
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/directMessagesSettingsFragment"
|
|
|
|
android:name="awais.instagrabber.fragments.directmessages.DirectMessageSettingsFragment"
|
|
|
|
android:label="DirectMessagesSettingsFragment"
|
|
|
|
tools:layout="@layout/fragment_direct_messages_settings">
|
|
|
|
<argument
|
|
|
|
android:name="threadId"
|
|
|
|
app:argType="string" />
|
|
|
|
<argument
|
|
|
|
android:name="title"
|
|
|
|
app:argType="string" />
|
|
|
|
</fragment>
|
2020-08-29 08:01:42 +00:00
|
|
|
</navigation>
|