aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/navigation/nav_graph.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/navigation/nav_graph.xml')
-rw-r--r--app/src/main/res/navigation/nav_graph.xml32
1 files changed, 29 insertions, 3 deletions
diff --git a/app/src/main/res/navigation/nav_graph.xml b/app/src/main/res/navigation/nav_graph.xml
index 132de49..63639d8 100644
--- a/app/src/main/res/navigation/nav_graph.xml
+++ b/app/src/main/res/navigation/nav_graph.xml
@@ -7,7 +7,7 @@
<fragment
android:id="@+id/HomePage"
- android:name="xyz.adjutor.aniki.HomePage"
+ android:name="xyz.adjutor.aniki.presentation.view.HomePage"
android:label="@string/home_page_label"
tools:layout="@layout/home_page">
@@ -17,12 +17,18 @@
<action
android:id="@+id/action_HomePage_to_TopAnimePage"
app:destination="@id/TopAnimePage" />
+ <action
+ android:id="@+id/action_HomePage_to_SearchMangaPage"
+ app:destination="@id/SearchMangaPage" />
+ <action
+ android:id="@+id/action_HomePage_to_SearchAnimePage"
+ app:destination="@id/SearchAnimePage" />
</fragment>
<fragment
android:id="@+id/TopMangaPage"
- android:name="xyz.adjutor.aniki.topmanga.TopMangaPage"
+ android:name="xyz.adjutor.aniki.presentation.view.manga.TopMangaPage"
android:label="@string/top_manga_page_label"
tools:layout="@layout/top_manga_page">
@@ -32,7 +38,7 @@
</fragment>
<fragment
android:id="@+id/TopAnimePage"
- android:name="xyz.adjutor.aniki.topanime.TopAnimePage"
+ android:name="xyz.adjutor.aniki.presentation.view.anime.TopAnimePage"
android:label="@string/top_anime_page_label"
tools:layout="@layout/top_anime_page">
@@ -40,5 +46,25 @@
android:id="@+id/action_TopAnimePage_to_HomePage"
app:destination="@id/HomePage" />
</fragment>
+ <fragment
+ android:id="@+id/SearchMangaPage"
+ android:name="xyz.adjutor.aniki.presentation.view.manga.SearchMangaPage"
+ android:label="@string/search_manga_page_label"
+ tools:layout="@layout/search_manga_page">
+
+ <action
+ android:id="@+id/action_SearchMangaPage_to_HomePage"
+ app:destination="@id/HomePage" />
+ </fragment>
+ <fragment
+ android:id="@+id/SearchAnimePage"
+ android:name="xyz.adjutor.aniki.presentation.view.anime.SearchAnimePage"
+ android:label="@string/search_anime_page_label"
+ tools:layout="@layout/search_anime_page">
+
+ <action
+ android:id="@+id/action_SearchAnimePage_to_HomePage"
+ app:destination="@id/HomePage" />
+ </fragment>
</navigation> \ No newline at end of file