|
|
@@ -12,7 +12,22 @@
|
|
|
tools:layout="@layout/fragment_splash" >
|
|
|
<action
|
|
|
android:id="@+id/action_splashFragment_to_loginFragment"
|
|
|
- app:destination="@id/loginFragment" />
|
|
|
+ app:destination="@id/loginFragment"
|
|
|
+ app:enterAnim="@anim/slide_in_right"
|
|
|
+ app:exitAnim="@anim/slide_out_left"
|
|
|
+ app:launchSingleTop="true"
|
|
|
+ app:popEnterAnim="@anim/slide_in_left"
|
|
|
+ app:popExitAnim="@anim/slide_out_right" />
|
|
|
+ <action
|
|
|
+ android:id="@+id/action_splashFragment_to_listPersonFragment"
|
|
|
+ app:destination="@id/listPersonFragment"
|
|
|
+ app:enterAnim="@anim/slide_in_right"
|
|
|
+ app:exitAnim="@anim/slide_out_left"
|
|
|
+ app:launchSingleTop="true"
|
|
|
+ app:popEnterAnim="@anim/slide_in_left"
|
|
|
+ app:popExitAnim="@anim/slide_out_right"
|
|
|
+ app:popUpTo="@id/listPersonFragment"
|
|
|
+ app:popUpToInclusive="true" />
|
|
|
</fragment>
|
|
|
|
|
|
<fragment
|
|
|
@@ -22,7 +37,20 @@
|
|
|
android:label="LoginFragment" >
|
|
|
<action
|
|
|
android:id="@+id/action_loginFragment_to_registrationFragment"
|
|
|
- app:destination="@id/registrationFragment" />
|
|
|
+ app:destination="@id/registrationFragment"
|
|
|
+ app:enterAnim="@anim/slide_in_right"
|
|
|
+ app:exitAnim="@anim/slide_out_left"
|
|
|
+ app:popEnterAnim="@anim/slide_in_left"
|
|
|
+ app:popExitAnim="@anim/slide_out_right"/>
|
|
|
+ <action
|
|
|
+ android:id="@+id/action_loginFragment_to_listPersonFragment"
|
|
|
+ app:destination="@id/listPersonFragment"
|
|
|
+ app:enterAnim="@anim/slide_in_right"
|
|
|
+ app:exitAnim="@anim/slide_out_left"
|
|
|
+ app:popEnterAnim="@anim/slide_in_left"
|
|
|
+ app:popExitAnim="@anim/slide_out_right"
|
|
|
+ app:popUpTo="@id/listPersonFragment"
|
|
|
+ app:popUpToInclusive="true" />
|
|
|
</fragment>
|
|
|
|
|
|
<fragment
|
|
|
@@ -32,7 +60,24 @@
|
|
|
android:label="RegistrationFragment" >
|
|
|
<action
|
|
|
android:id="@+id/action_registrationFragment_to_loginFragment"
|
|
|
- app:destination="@id/loginFragment" />
|
|
|
- </fragment><action android:id="@+id/action_global_loginFragment" app:destination="@id/loginFragment"/>
|
|
|
+ app:destination="@id/loginFragment"
|
|
|
+ app:enterAnim="@anim/slide_in_right"
|
|
|
+ app:exitAnim="@anim/slide_out_left"
|
|
|
+ app:popEnterAnim="@anim/slide_in_left"
|
|
|
+ app:popExitAnim="@anim/slide_out_right"/>
|
|
|
+ </fragment>
|
|
|
+
|
|
|
+ <action android:id="@+id/action_global_loginFragment"
|
|
|
+ app:destination="@id/loginFragment"
|
|
|
+ app:enterAnim="@anim/slide_in_right"
|
|
|
+ app:exitAnim="@anim/slide_out_left"
|
|
|
+ app:popEnterAnim="@anim/slide_in_left"
|
|
|
+ app:popExitAnim="@anim/slide_out_right"/>
|
|
|
+
|
|
|
+ <fragment
|
|
|
+ android:id="@+id/listPersonFragment"
|
|
|
+ android:name="com.mrozon.feature_person.presentation.ListPersonFragment"
|
|
|
+ android:label="ListPersonFragment"
|
|
|
+ tools:layout="@layout/fragment_list_person"/>
|
|
|
|
|
|
</navigation>
|