https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
d

Deepak Rathi

10/06/2023, 10:03 PM
How to use navigation in kotlin Multi-platform? Similar as we use in android, are there any dependencies available? For nav args and nav directions
p

Pablichjenkov

10/06/2023, 10:07 PM
The closest you have is this library: https://github.com/Tlaster/PreCompose Its main contributor seems to be pretty up to date. Not sure if it covers your specific needs for nav args and directions. You will have to give it a try.
thank you color 1
d

Deepak Rathi

10/06/2023, 10:48 PM
Basically I just want to migrate my native kotlin Android project to kotlin Multi-platform I am using nav graphs, nav args and directions all over, so just need to understand if it supports all of that or not
p

Pablichjenkov

10/06/2023, 10:55 PM
Humm, I see but most likely directions arent supported. Directions are auto-generated by some plugin and I don’t think
precompose
do that. Perhaps it could offer direction but in a different way. You can ask for that feature request in Github. Or for some guidance on an equivalent thing.
5 Views