Replies: 1 comment 12 replies
-
Do you need access to the parent navigator or do you just need to signal navigation events up? The latter is more in line with idiomatic compose, and there is a CircuitContent overload that allows passing a lambda to handle child nav events from the calling context. |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Our application has bottom nav bar with 2 tabs, to not recreate state every time when tab is switched I'm using the approach mentioned in this release. Everything works fine.
In one of the tabs when button is pressed new screen should be presented in the entire screen instead of inside the tab. To do that I need to access parent navigator. Currently I'm passing it to the child via
CircuitContext
tags. Tested multiple cases like configuration change, process kill. Everything works fine.Is it acceptable solution or there are better ones?
Beta Was this translation helpful? Give feedback.
All reactions