You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basic idea is to create rout and allow to control flow of NavControllers
Pros: pretty simple syntax
Cons:
you need to know whole ierarchy of your nc-s (do not have solution it so need to agree with this limitation)
some one may try to do wired things rather then just navigation, option here is to make strict buider yet it going to be overcomplex
a bit complex structure of follow flow loging inside nested NavController as next one may not be event created when current receive route signal, need to make smth like pendingflow logic
Be able to call to set specific path from navController including sub-navControllers
EG:
navController.setPath(Root).then(Tabs).then(HomeTab,ProductTab).then(ProductDetails)
-->
1st nc opens Root screen
Root's screen inner NC(navController) opens Tabs
Tabs's NC put HomeTab in backstack and opens ProductTab
ProductTab opens ProductDetails
Pros:
Cons:
The text was updated successfully, but these errors were encountered: