ProyectoFinal/app/src/main/res/navigation/nav_graph.xml

49 lines
1.8 KiB
XML

<?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/loginFragment">
<fragment
android:id="@+id/loginFragment"
android:name="com.santiparra.yomitrack.ui.fragments.login.LoginFragment"
android:label="Login"
tools:layout="@layout/fragment_login">
<action
android:id="@+id/action_loginFragment_to_registerFragment"
app:destination="@id/registerFragment" />
<action
android:id="@+id/action_loginFragment_to_forgotPasswordFragment"
app:destination="@id/forgotPasswordFragment" />
</fragment>
<fragment
android:id="@+id/registerFragment"
android:name="com.santiparra.yomitrack.ui.fragments.register.RegisterFragment"
android:label="Register" />
<fragment
android:id="@+id/forgotPasswordFragment"
android:name="com.santiparra.yomitrack.ui.fragments.forgotpassword.ForgotPasswordFragment"
android:label="Olvidé mi contraseña" >
<action
android:id="@+id/action_forgotPasswordFragment_to_resetPasswordFragment"
app:destination="@id/resetPasswordFragment" />
</fragment>
<fragment
android:id="@+id/resetPasswordFragment"
android:name="com.santiparra.yomitrack.ui.fragments.resetpassword.ResetPasswordFragment"
android:label="Restablecer contraseña"
tools:layout="@layout/fragment_reset_password">
<action
android:id="@+id/action_resetPasswordFragment_to_loginFragment"
app:destination="@id/loginFragment" />
</fragment>
</navigation>