https://kotlinlang.org logo
Title
z

Zaki Shaikh

02/25/2023, 7:59 AM
Hi there, can anyone please suggest me that which navigation library I should use in android target in multiplatform project, whether compose navigation library or is any other better option out there for multiplatform. thank you
a

Adam Brown

02/25/2023, 8:24 AM
I've been using Decompose to do cross-platform compose navigation and it's been pretty good. A bit of boiler plate to write, but its all 100% compile time safe and just simple inspectable code.
s

Shubham Singh

02/25/2023, 8:37 AM
https://tlaster.github.io/PreCompose/ I’m using this currently, it’s very similar to the Navigation Component for Compose
z

Zaki Shaikh

02/25/2023, 9:09 AM
Is there nothing like JetBrains recommended or they may have created one?
s

Shubham Singh

02/25/2023, 9:11 AM
I believe there’s a lot of internal work pending before they start focusing on anything else besides the core functionality/stability of Compose Multiplatform. I might be wrong as well, but this is what I have realised so far.
a

Arkadii Ivanov

02/25/2023, 9:12 AM
There is a tutorial for Multiplatform Compose, though it might be a bit outdated - https://github.com/JetBrains/compose-jb/tree/master/tutorials/Navigation
z

Zaki Shaikh

02/25/2023, 9:18 AM
On this GitHub page they have recommended Decompose at the moment so now I am thinking of it, anyway thanks all for reply.
c

Casey Brooks

02/25/2023, 2:53 PM
I recently released Ballast Navigation as a simpler option for routing
x

xxfast

02/26/2023, 2:44 AM
I've been using decompose - if it is too much boiler-plate for you, you can still use parts of it to make-your-own navigation library