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

    <fragment
        android:id="@+id/login_fragment"
        android:name="com.frannazario.proyectoandroid.presentation.fragments.LoginFragment"
        android:label="Login"
        tools:layout="@layout/fragment_login">

        <action
            android:id="@+id/navigate_from_loginfragment_to_signinfragment"
            app:destination="@id/signin_fragment" />

        <action
            android:id="@+id/navigate_from_loginfragment_to_passwordrecoveryfragment"
            app:destination="@id/password_recovery_fragment" />

    </fragment>

    <fragment
        android:id="@+id/signin_fragment"
        android:name="com.frannazario.proyectoandroid.presentation.fragments.SigninFragment"
        android:label="Sign in"
        tools:layout="@layout/fragment_signin" />

    <fragment
        android:id="@+id/password_recovery_fragment"
        android:name="com.frannazario.proyectoandroid.presentation.fragments.PasswordRecoveryFragment"
        android:label="Password recovery"
        tools:layout="@layout/fragment_password_recovery" />

</navigation>