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
I can see, clear as day, one of the example provided here. This example works well where the app needs to provide the destination and it's nav behaviour, e.g. Routing to detail of something.
My module requires me to navigate as
Location Screen > Navigate to children of selected location > [if has child] navigate more [else] show details
What would be the ideal way to achieve this behaviour?
So far I have avoided passing navController because from docs:
This means that you shouldn't pass the navController directly into any composable and instead pass navigation callbacks as parameters.
TLDR
How to navigate and access NavController within Game if it's a separate module from example here.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have nested navigation in my multi module app.
I can see, clear as day, one of the example provided here. This example works well where the app needs to provide the destination and it's nav behaviour, e.g. Routing to detail of something.
My module requires me to navigate as
What would be the ideal way to achieve this behaviour?
So far I have avoided passing navController because from docs:
TLDR
How to navigate and access
NavController
withinGame
if it's a separate module from example here.Beta Was this translation helpful? Give feedback.
All reactions