https://kotlinlang.org logo
Title
s

skwalking

02/27/2022, 9:50 AM
What's the preferred way of navigating between the screens in compose ? (which will not change in near future)
m

Michael Paus

02/27/2022, 1:49 PM
@Colton Idle Only if you want to be bound to Android for ever. If you have an interest in platform independence you should look elsewhere.
a

Adam Powell

02/27/2022, 2:52 PM
I'd venture a guess that any actively developed offering in this space today is likely to see major conceptual and API changes in the next ~18 months to two years. There's a lot of active thinking around navigation right now through the community and I think it's going to evolve rapidly. Features like movable content and animation enhancements add new requirements and remove old limitations, and growing understanding around general state management does the same. Not to mention the UX zeitgeist.
👍 1
Most projects are best off picking a navigation solution that solves your problems *today*; don't spend time trying to pick a 5-10 year winner here yet
👍 3
s

Scott Kruse

02/27/2022, 3:16 PM
Haven't used this but looked interesting at first glance if you have multi platform ambitions https://github.com/adrielcafe/voyager
l

Landry Norris

02/27/2022, 8:52 PM
I've been using decompose for a bit, and I've liked its navigation feature. It also provides lifecycle awareness and an observable type (although, I've always found Flow more compatible with other libraries). Plus it's multiplatform.
a

Arkadii Ivanov

02/27/2022, 11:47 PM