简体   繁体   中英

Using bottom app bar as nested navigation in jetpack compse

I am stuck in a problem in jetpack compose navigation. I do have a case where I have a full page screen like login/signup and other settings pages and on the home page, I need a bottom navigation bar. But from time to time I also need to move to a full-page screen like settings and all from the home page. How can I achieve it? does anyone have a rough idea or links to a solution or sample code?

Use two NavHost. One is placed in the root for the full page screens, other is placed inside home page Scaffold.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM