summaryrefslogtreecommitdiff
path: root/app/src/main/res/navigation
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-05-13 13:42:16 +0200
committerClyhtsuriva <aimeric@adjutor.xyz>2021-05-13 13:42:16 +0200
commita4fbe1308bb4cf61358d8169dd32505e2783a9af (patch)
tree4f8f67ba83a64dd33c310f1eee659dfdd5d32b85 /app/src/main/res/navigation
parenta11219745fd6ddf8796682f7ab433c1a1d0402f5 (diff)
parentbe1df4b40a41ae1d4c727637a326ad32eb729ed9 (diff)
Merge branch 'release/3.0'v3.0.0
Diffstat (limited to 'app/src/main/res/navigation')
-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