Tiamat icon indicating copy to clipboard operation
Tiamat copied to clipboard

Chained navigation request

Open vkatz opened this issue 1 year ago • 0 comments

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:

  • easy to use with complex navigation

Cons:

  • will need to make dsl to generate tree
  • can not controll subtrees? (eg: what if i want to put smth inside HomeTab's NC)

vkatz avatar Oct 08 '24 14:10 vkatz