aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/navigation/nav_graph.xml
blob: 95c7996f8f98cb136c98532dcac6336c2e9ff894 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="utf-8"?>
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/nav_graph"
    app:startDestination="@id/HomePage">

    <fragment
        android:id="@+id/HomePage"
        android:name="xyz.adjutor.aniki.presentation.view.HomePage"
        android:label="@string/home_page_label"
        tools:layout="@layout/home_page">

        <action
            android:id="@+id/action_HomePage_to_TopMangaPage"
            app:destination="@id/TopMangaPage" />
        <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.presentation.view.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>
    <fragment
        android:id="@+id/TopAnimePage"
        android:name="xyz.adjutor.aniki.presentation.view.TopAnimePage"
        android:label="@string/top_anime_page_label"
        tools:layout="@layout/top_anime_page">

        <action
            android:id="@+id/action_TopAnimePage_to_HomePage"
            app:destination="@id/HomePage" />
    </fragment>
    <fragment
        android:id="@+id/SearchMangaPage"
        android:name="xyz.adjutor.aniki.presentation.view.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.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>