-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a awesome project,why nested homeNavGraph #4
Comments
Thanks for your support. Think about the nested nav graph like a host which hosted inner screens (like a domain and subdomains for web pages). Each navigation host has its own navigation controller to navigate back and forward. RootNavController is used to navigate between top-level screens, nestedNavController - to navigate between nested screens. In our case:
I'm hoping this explanation should help a bit. Thanks. And don't worry, we all were noobies. |
With this approach how to navigate for example from If I use Thank you very much in advance for your help. |
Currently, Subscription is a root-level screen. You cannot navigate from it to nested screen. As a solution, Subscription screen should be moved to the same nav graph where Profile screen is placed. |
If you move |
Thanks for letting me know. Will try to check it tomorrow |
I've added a subscription button (crown icon) to Profile screen . It opens the Subscription screen. @dagostinisy Hoping it would help to figure out |
Ok thanks |
This is a aw project, what I want to know is why a nested graph is generated for
homeNavGraph
inRootNavGraph
, which makes the nested homeNavGraph have to use a newrememberNavController
, which makes me confuse when to userootnavController
ornestednavController
.Depending on the google's intent, does it want to integrate the
AppBottomBar
view has a on-nested view,?Thank you very much in advance for your help guys, and sorry for my noobiness.
The text was updated successfully, but these errors were encountered: