diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-19 14:04:59 +0100 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-19 14:04:59 +0100 |
commit | 2aaa50c8303018f89da461750d5577902bc87357 (patch) | |
tree | 1d4e58436f7d88c82b588c86fe99fce74ea09de3 /app/src/main/res/navigation | |
parent | c519b3f99d5b03f8c52c8d881033c8d5ec6b8b6a (diff) | |
parent | fa849021bf137fc4b245a8c0e7a2a8fc46d574df (diff) |
Merge branch 'release/1.0'v1.0.0
Diffstat (limited to 'app/src/main/res/navigation')
-rw-r--r-- | app/src/main/res/navigation/nav_graph.xml | 56 |
1 files changed, 43 insertions, 13 deletions
diff --git a/app/src/main/res/navigation/nav_graph.xml b/app/src/main/res/navigation/nav_graph.xml index 5441348..d8d3b26 100644 --- a/app/src/main/res/navigation/nav_graph.xml +++ b/app/src/main/res/navigation/nav_graph.xml @@ -3,26 +3,56 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/nav_graph" - app:startDestination="@id/FirstFragment"> + app:startDestination="@id/HomePage"> <fragment - android:id="@+id/FirstFragment" - android:name="xyz.adjutor.aniki.FirstFragment" - android:label="@string/first_fragment_label" - tools:layout="@layout/fragment_first"> + android:id="@+id/HomePage" + android:name="xyz.adjutor.aniki.HomePage" + android:label="@string/home_page_label" + tools:layout="@layout/home_page"> <action - android:id="@+id/action_FirstFragment_to_SecondFragment" - app:destination="@id/SecondFragment" /> + android:id="@+id/action_HomePage_to_NewsPage" + app:destination="@id/NewsPage" /> + <action + android:id="@+id/action_HomePage_to_ArticlePage" + app:destination="@id/ArticlePage" /> + <action + android:id="@+id/action_HomePage_to_TopMangaPage" + app:destination="@id/TopMangaPage" /> + </fragment> + + <fragment + android:id="@+id/NewsPage" + android:name="xyz.adjutor.aniki.NewsPage" + android:label="@string/news_page_label" + tools:layout="@layout/news_page"> + + <action + android:id="@+id/action_NewsPage_to_HomePage" + app:destination="@id/HomePage" /> </fragment> + <fragment - android:id="@+id/SecondFragment" - android:name="xyz.adjutor.aniki.SecondFragment" - android:label="@string/second_fragment_label" - tools:layout="@layout/fragment_second"> + android:id="@+id/ArticlePage" + android:name="xyz.adjutor.aniki.ArticlePage" + android:label="@string/article_page_label" + tools:layout="@layout/article_page"> <action - android:id="@+id/action_SecondFragment_to_FirstFragment" - app:destination="@id/FirstFragment" /> + android:id="@+id/action_ArticlePage_to_HomePage" + app:destination="@id/HomePage" /> </fragment> + + <fragment + android:id="@+id/TopMangaPage" + android:name="xyz.adjutor.aniki.TopMangaPage" + android:label="@string/top_manga_page_label" + tools:layout="@layout/top_manga_page"> + + <action + android:id="@+id/action_TopMangaPage_to_HomePage" + app:destination="@id/HomePage" /> + </fragment> + </navigation>
\ No newline at end of file |