parent
9624964bc3
commit
33eb26861d
|
@ -58,7 +58,7 @@ class ToolbarIntegration(
|
|||
toolbar.hideKeyboard()
|
||||
// We need to dynamically add the options here because if you do it in XML it overwrites
|
||||
val options = NavOptions.Builder().setPopUpTo(R.id.homeFragment, true)
|
||||
.setEnterAnim(R.anim.fade_in).setExitAnim(R.anim.fade_out).build()
|
||||
.setEnterAnim(R.anim.fade_in).build()
|
||||
val extras =
|
||||
FragmentNavigator.Extras.Builder()
|
||||
.addSharedElement(
|
||||
|
|
|
@ -32,10 +32,8 @@
|
|||
<action
|
||||
android:id="@+id/action_homeFragment_to_browserFragment"
|
||||
app:destination="@id/browserFragment"
|
||||
app:enterAnim="@anim/fade_in"
|
||||
app:exitAnim="@anim/fade_out"
|
||||
app:popEnterAnim="@anim/fade_in"
|
||||
app:popExitAnim="@anim/fade_out" />
|
||||
app:popEnterAnim="@anim/fade_in" />
|
||||
<action
|
||||
android:id="@+id/action_homeFragment_to_libraryFragment"
|
||||
app:destination="@id/libraryFragment" />
|
||||
|
|
Loading…
Reference in New Issue