architecture-components-samples
architecture-components-samples copied to clipboard
How to set middle item as first in Navigation Advanced Sample
trafficstars
Question about Navigation Advanced Sample
In the example the most left menu item is the main one - if user clicks on other menu items and then presses back button - user will be navigated back to left menu item and after pressing back again - activity will be finished.
My question is: if there are 3 menu items, how to make the middle item behave as the left one. In other words, how to make middle menu item the "fixed start destination", or the "main menu item"?
In the main nav graph there's an app:startDestination="@+id/home" option I think that could be it