Does the navigation-compose support multiple backs...
# compose
s
Does the navigation-compose support multiple backstack for bottomNavigation? I tried example from developer.android.com, but tabs doesn't saves it's state
f
Did you use
saveState = true
and
restoreState = true
?
s
Of course
navigation version
2.4.0-alpha07
f
Can you show a video?
s
I need time to do this
s
If you remember that value, use
rememberSaveable
instead of just
remember
and it will just work
s
Ok, this works! Thanks!
🎉 1
d
s
The article literally says "Update 2: I strongly recommend following the official Jetpack Compose Navigation codelab instead of following this article". Be wary of reading past year articles on compose, things have changed quite a lot.
d
and there is no nested backstack example in the official codelab at all. so i had to research these obsoleted articles (which are still relevant with few fixes)