https://kotlinlang.org logo
#navigation-architecture-component
Title
# navigation-architecture-component
e

Edward

02/27/2020, 10:22 AM
Hi there, I have a navigation graph where the start fragment is a list of menu items. I use a bottomsheetfragment so the user can create a new menu and when the user creates a new menu he or she should be navigated to the menuEdit fragment. Thats no problem until here. but when the user navigates back the menu fragment should appear an not the menus list fragment. I’ve tried it with deeplinking but with no luck. Any hints?
a

Abhishek Bansal

02/28/2020, 6:13 AM
You can create an action from
menu_edit
screen to
menu_home
with `popUpTo`and attribute.
e

Edward

03/02/2020, 7:31 AM
Hmm ok, I’ll give that a try. Thanks
4 Views