Browse Source

Add comments fragment to dm navigation. Fixes https://github.com/austinhuang0131/barinsta/issues/276

renovate/org.robolectric-robolectric-4.x
Ammar Githam 4 years ago
parent
commit
046152e30c
  1. 19
      app/src/main/res/navigation/direct_messages_nav_graph.xml

19
app/src/main/res/navigation/direct_messages_nav_graph.xml

@ -44,6 +44,25 @@
android:id="@+id/action_global_notificationsViewerFragment" android:id="@+id/action_global_notificationsViewerFragment"
app:destination="@id/notification_viewer_nav_graph" /> app:destination="@id/notification_viewer_nav_graph" />
<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>
<fragment <fragment
android:id="@+id/directMessagesInboxFragment" android:id="@+id/directMessagesInboxFragment"
android:name="awais.instagrabber.fragments.directmessages.DirectMessageInboxFragment" android:name="awais.instagrabber.fragments.directmessages.DirectMessageInboxFragment"

Loading…
Cancel
Save