Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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/message" // we use the graph together with BottomNavigationView.
- app:startDestination="@id/start_destination">
- <fragment
- android:id="@ id/start_destination"
- android:name="/**desired fragment path**/"
- android:label="ConversationListFragment"
- tools:layout="@layout/fragment_conversation_list">
- <action
- android:id="@ id/toConversationFragment"
- app:destination="@ id/nav_conversation">
- <argument
- android:name="conversationSid"
- app:argType="string" />
- </action>
- </fragment>
- <include app:graph="@navigation/nav_conversation" />
- </navigation>
Add Comment
Please, Sign In to add comment