diff options
Diffstat (limited to 'app/src/main/res/navigation')
-rw-r--r-- | app/src/main/res/navigation/nav_graph.xml | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/app/src/main/res/navigation/nav_graph.xml b/app/src/main/res/navigation/nav_graph.xml index ef2595c..77eca0e 100644 --- a/app/src/main/res/navigation/nav_graph.xml +++ b/app/src/main/res/navigation/nav_graph.xml @@ -3,16 +3,26 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/nav_graph" - app:startDestination="@id/main_fragment"> + app:startDestination="@id/list_fragment"> > <fragment - android:id="@+id/main_fragment" - android:name="uk.co.blatech.blaupload3.view.ListFragment" - android:label="First Fragment" - tools:layout="@layout/list_fragment" /> - <fragment android:id="@+id/list_fragment" android:name="uk.co.blatech.blaupload3.view.ListFragment" - android:label="First Fragment" - tools:layout="@layout/list_fragment" /> + android:label="List Fragment" + tools:layout="@layout/list_fragment"> + <action + android:id="@+id/action_list_fragment_to_gallery_fragment" + app:destination="@id/gallery_fragment" + /> + </fragment> + <fragment + android:id="@+id/gallery_fragment" + android:name="uk.co.blatech.blaupload3.view.GalleryFragment" + android:label="Gallery Fragment" + tools:layout="@layout/gallery_fragment"> + <action + android:id="@+id/action_gallery_fragment_to_list_fragment" + app:destination="@id/gallery_fragment" + /> + </fragment> </navigation>
\ No newline at end of file |