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

Bob Kuhl

10/05/2023, 1:43 AM
Hi guys, I'm using KMP and have a working example using Compose Multiplatform with one screen with a Surface and a Card. So far so good. Now I want to create three screens: screen A with a button to go to screen B, screen B with a button to go to screen C, and screen C with a button to go to screen A. I've looked at the Navigation component and it seems to be what I want. https://developer.android.com/guide/navigation/use-graph/navigate. Is there an example using it? I understand the basics but am having trouble pulling it together in a workable fashion.
i

Ian Lake

10/05/2023, 1:50 AM
FWIW, the Navigation Component doesn't support Kotlin Multiplatform yet. Here's the previous conversation we had about other alternatives (and a link to the issue you can star for KMP support): https://kotlinlang.slack.com/archives/CJLTWPH7S/p1690497559870199