diff options
Diffstat (limited to 'app/src/main/res/navigation/nav_graph.xml')
-rw-r--r-- | app/src/main/res/navigation/nav_graph.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app/src/main/res/navigation/nav_graph.xml b/app/src/main/res/navigation/nav_graph.xml index 78eb7f0..d8d3b26 100644 --- a/app/src/main/res/navigation/nav_graph.xml +++ b/app/src/main/res/navigation/nav_graph.xml @@ -14,7 +14,14 @@ <action 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" @@ -25,4 +32,27 @@ android:id="@+id/action_NewsPage_to_HomePage" app:destination="@id/HomePage" /> </fragment> + + <fragment + 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_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 |