Guest User

Untitled

a guest
Nov 14th, 2019
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.92 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <navigation xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:id="@ id/message" // we use the graph together with BottomNavigationView.
  6.    app:startDestination="@id/start_destination">
  7.  
  8.  
  9.     <fragment
  10.        android:id="@ id/start_destination"
  11.        android:name="/**desired fragment path**/"
  12.        android:label="ConversationListFragment"
  13.        tools:layout="@layout/fragment_conversation_list">
  14.  
  15.         <action
  16.            android:id="@ id/toConversationFragment"
  17.            app:destination="@ id/nav_conversation">
  18.             <argument
  19.                android:name="conversationSid"
  20.                app:argType="string" />
  21.         </action>
  22.  
  23.     </fragment>
  24.  
  25.     <include app:graph="@navigation/nav_conversation" />
  26.  
  27.  
  28. </navigation>
Add Comment
Please, Sign In to add comment