Is there an official routing lib for compose?
# compose
a
Is there an official routing lib for compose?
r
not yet
s
You also have several methods from Google samples (Jetnews, Crane, Jetcast, etc) - Arch. Navigation-Fragment with dumb fragments only displaying a composable - NavigationViewModel handling backstack and saving to saveStateHandle (Jetnews)
c
@satyan thanks that summary is really helpful. I think I'll go the dumb fragment route.
s
Sorry i sent the message with my phone and I forgot the samples repository: https://github.com/android/compose-samples
I think your current app architecture will kinda dictate how you’ll handle navigation, If you’re already using androidx navigation-fragment, it will be easier to plug new dumb fragment with a composable view for example.
c
Yep. Currently we use nav aac.
a
There will eventually be a support for Navigation Component for Jetpack Compose. https://kotlinlang.slack.com/archives/CJLTWPH7S/p1595511598206200