https://kotlinlang.org logo
#compose
Title
# compose
k

Kshitij Patil

12/04/2020, 5:14 PM
I just realised there's one class Called
ComposeNavigator
which is supposed to handle backstack and create destination. Where can I find the example usage of it?
i

Ian Lake

12/04/2020, 7:30 PM
There's a whole docs page on Navigating with Compose: https://developer.android.com/jetpack/compose/navigation
k

Kshitij Patil

12/05/2020, 8:23 AM
Yes, I'm aware of that, so you mean
ComposeNavigator
is the class powering navigation-compose? I thought this is some unexplored API and has any other use-case
a

allan.conda

12/05/2020, 8:33 AM
it’s just like FragmentNavigator, it’s implementation detail
i

Ian Lake

12/05/2020, 6:59 PM
Yep, that's what
NavHost
uses under the hood