summaryrefslogtreecommitdiff
path: root/app/src/main/res/navigation/nav_graph.xml
blob: bc57ed60d07990fc4fb8948abd1c916147a704f5 (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
<?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/SyncList">

    <fragment
        android:id="@+id/FirstFragment"
        android:name="org.the_jk.cleversync.FirstFragment"
        android:label="@string/first_fragment_label"
        tools:layout="@layout/fragment_first">

        <action
            android:id="@+id/action_FirstFragment_to_SecondFragment"
            app:destination="@id/SecondFragment" />
    </fragment>
    <fragment
        android:id="@+id/SecondFragment"
        android:name="org.the_jk.cleversync.SecondFragment"
        android:label="@string/second_fragment_label"
        tools:layout="@layout/fragment_second">

        <action
            android:id="@+id/action_SecondFragment_to_FirstFragment"
            app:destination="@id/FirstFragment" />
    </fragment>

    <fragment android:id="@+id/SyncList"
        android:name="org.the_jk.cleversync.SyncListFragment"
        android:label="@string/sync_list_fragment_label"
        tools:layout="@layout/fragment_sync_list">
        <action
            android:id="@+id/action_SyncListFragment_AddSyncFragment"
            app:destination="@id/AddSyncFragment" />

        <action
            android:id="@+id/action_SyncListFragment_EditSyncFragment"
            app:destination="@id/EditSyncFragment" />
    </fragment>

    <fragment android:id="@+id/AddSyncFragment"
        android:name="org.the_jk.cleversync.AddSyncFragment"
        android:label="@string/add_sync_fragment_label"
        tools:layout="@layout/fragment_add_sync">

        <action
            android:id="@+id/action_AddSyncFragment_EditSyncFragment"
            app:destination="@id/EditSyncFragment" />
    </fragment>

    <fragment android:id="@+id/EditSyncFragment"
        android:name="org.the_jk.cleversync.EditSyncFragment"
        android:label="@string/edit_sync_fragment_label"
        tools:layout="@layout/fragment_edit_sync">
        <argument android:name="sync_id" app:argType="long" />
    </fragment>
</navigation>