2020-08-17 13:49:51 +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"
|
2020-08-29 08:01:42 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-08-17 13:49:51 +00:00
|
|
|
android:id="@+id/direct_messages_nav_graph"
|
|
|
|
app:startDestination="@id/directMessagesInboxFragment">
|
|
|
|
|
2020-08-30 14:24:28 +00:00
|
|
|
<include app:graph="@navigation/profile_nav_graph" />
|
|
|
|
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_profileFragment"
|
|
|
|
app:destination="@id/profile_nav_graph">
|
|
|
|
<argument
|
|
|
|
android:name="username"
|
|
|
|
app:argType="string"
|
2020-09-26 09:14:06 +00:00
|
|
|
app:nullable="true" />
|
2020-08-30 14:24:28 +00:00
|
|
|
</action>
|
|
|
|
|
2020-09-05 17:02:54 +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"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
|
|
|
</action>
|
|
|
|
|
|
|
|
<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-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-11-18 16:01:26 +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"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
|
|
|
</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">
|
2020-12-26 18:14:08 +00:00
|
|
|
<argument
|
|
|
|
android:name="postId"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
|
|
|
<argument
|
|
|
|
android:name="isComment"
|
|
|
|
app:argType="boolean"
|
|
|
|
app:nullable="false" />
|
2020-12-20 20:52:09 +00:00
|
|
|
</action>
|
|
|
|
|
2020-08-17 13:49:51 +00:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/directMessagesInboxFragment"
|
|
|
|
android:name="awais.instagrabber.fragments.directmessages.DirectMessageInboxFragment"
|
2020-08-29 08:01:42 +00:00
|
|
|
android:label="@string/action_dms"
|
|
|
|
tools:layout="@layout/fragment_direct_messages_inbox">
|
2020-08-17 13:49:51 +00:00
|
|
|
<action
|
2021-01-02 02:54:32 +00:00
|
|
|
android:id="@+id/action_inbox_to_thread"
|
2020-08-17 13:49:51 +00:00
|
|
|
app:destination="@id/directMessagesThreadFragment" />
|
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/directMessagesThreadFragment"
|
|
|
|
android:name="awais.instagrabber.fragments.directmessages.DirectMessageThreadFragment"
|
2020-08-29 08:01:42 +00:00
|
|
|
tools:layout="@layout/fragment_direct_messages_thread">
|
2020-08-17 13:49:51 +00:00
|
|
|
<argument
|
|
|
|
android:name="threadId"
|
|
|
|
app:argType="string" />
|
|
|
|
<argument
|
|
|
|
android:name="title"
|
|
|
|
app:argType="string" />
|
2020-08-22 21:03:55 +00:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_dMThreadFragment_to_dMSettingsFragment"
|
|
|
|
app:destination="@id/directMessagesSettingsFragment" />
|
2021-01-02 02:54:32 +00:00
|
|
|
<action
|
2021-01-02 04:00:14 +00:00
|
|
|
android:id="@+id/action_thread_to_image_edit"
|
2021-01-02 02:54:32 +00:00
|
|
|
app:destination="@id/imageEditFragment" />
|
2020-08-22 21:03:55 +00:00
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/directMessagesSettingsFragment"
|
|
|
|
android:name="awais.instagrabber.fragments.directmessages.DirectMessageSettingsFragment"
|
2021-01-02 02:54:32 +00:00
|
|
|
android:label="@string/action_settings"
|
2020-08-29 08:01:42 +00:00
|
|
|
tools:layout="@layout/fragment_direct_messages_settings">
|
2020-08-22 21:03:55 +00:00
|
|
|
<argument
|
|
|
|
android:name="threadId"
|
|
|
|
app:argType="string" />
|
|
|
|
<argument
|
|
|
|
android:name="title"
|
|
|
|
app:argType="string" />
|
2020-08-17 13:49:51 +00:00
|
|
|
</fragment>
|
2021-01-02 02:54:32 +00:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/imageEditFragment"
|
|
|
|
android:name="awais.instagrabber.fragments.imageedit.ImageEditFragment"
|
|
|
|
tools:layout="@layout/fragment_image_edit"
|
|
|
|
android:label="Edit Photo">
|
|
|
|
<argument
|
|
|
|
android:name="uri"
|
|
|
|
app:argType="android.net.Uri"
|
|
|
|
app:nullable="false" />
|
|
|
|
</fragment>
|
2020-08-17 13:49:51 +00:00
|
|
|
</navigation>
|