ComposeGears / Tiamat

Simple Compose multiplatform navigation library
https://composegears.github.io/Tiamat/
Apache License 2.0
184 stars 4 forks source link

Chained navigation request #72

Open vkatz opened 2 weeks ago

vkatz commented 2 weeks ago

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:

vkatz commented 1 week ago

Image Basic idea is to create rout and allow to control flow of NavControllers

Pros: pretty simple syntax Cons: