Understanding using NavigableCircuitContent for nested flows #1204
Unanswered
shaharKeisarApps
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to make sure I understand Circuit's perspective on navigation.
Let's assume I have a home screen as my root screen.
Inside that, I will be able to navigate to a new flow. mail flow
Should I set for that flow a new Circuit + NavigableCircuitContent?
Here is a code example (based on the Circuit Tutorial example):
My Home screen
The inbox screen and details remain the same.
Note: This way of setting flows creates a problem where I can't do
navigator.resetRoot(HomeScreen)
from MailFlow screens.(There is no screen if MailFlow has its own circuit; if the circuit is global for the app, HomeScreen will be shown as a nested screen inside MailFlow.)
Beta Was this translation helpful? Give feedback.
All reactions