Loading...

JetpackCompose Navigation Nested Graphs cause "ViewModelStore should be set before setGraph call" exception

Answer #1 87.5 %

After struggling some time with this issue, I made my way out by using two separated NavHost. It might not be the right way to do it but it works at the moment. You can find the example source code here:

https://github.com/talhaoz/JetPackCompose-LoginAndBottomBar

Hope they make the navigation easier on upcoming releases.

You’ll also like:


© 2023 CodeForDev.com -