summaryrefslogtreecommitdiff
path: root/app/src/main/res/navigation/nav_graph.xml
blob: 78eb7f038d771bb37551798103a850fb490e0d10 (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
<?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.HomePage"
        android:label="@string/home_page_label"
        tools:layout="@layout/home_page">

        <action
            android:id="@+id/action_HomePage_to_NewsPage"
            app:destination="@id/NewsPage" />
    </fragment>
    <fragment
        android:id="@+id/NewsPage"
        android:name="xyz.adjutor.aniki.NewsPage"
        android:label="@string/news_page_label"
        tools:layout="@layout/news_page">

        <action
            android:id="@+id/action_NewsPage_to_HomePage"
            app:destination="@id/HomePage" />
    </fragment>
</navigation>