'Can I apply popEnterAnim when I popUpTo a destination?
I have a NavGraph like below. Why I CANNOT execute the popEnterAnim when popUpTo the graph starting destination?
<?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"
android:id="@+id/a_nav_graph"
app:startDestination="@id/fragmentA">
<fragment
android:id="@+id/fragmentA"
android:name="com.FragmentA">
<action
android:id="@+id/action_a_to_b_nav_graph"
app:destination="@id/b_nav_graph" />
</fragment>
<include app:graph="@navigation/b_nav_graph" />
<action
android:id="@+id/action_a_nav_graph_pop"
app:popUpTo="@id/a_nav_graph"
app:popUpToInclusive="true"
app:popEnterAnim="@anim/slide_out_buttom" />
</navigation>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
