diff options
| author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-12 12:35:33 +0100 | 
|---|---|---|
| committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-12 12:35:33 +0100 | 
| commit | 97ff499413e5dae958ac3741616e2ee84a188871 (patch) | |
| tree | 57c5be176a2f5b3e117d0730503d38b08607d4a9 /app/src/main/res/navigation | |
| parent | 416450b33960588984d88659d596703e84c8c2d5 (diff) | |
Adding Article and Top Manga pages.
Diffstat (limited to 'app/src/main/res/navigation')
| -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 | 
