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

Vivek Sharma

02/12/2021, 7:43 PM
how can we pass Parcelable type using compose navigation?
i

Ian Lake

02/12/2021, 7:52 PM
You cannot. Here's the last thread on this (which links to the previous threads on this): https://kotlinlang.slack.com/archives/CJLTWPH7S/p1612469332356500
🙏 1
i

Ian Lake

02/13/2021, 1:20 AM
Yup, the nice part about Compose is that the same set of tools are available to any library developer; there's no special casing or hidden APIs that only Navigation Compose has access to.
The new
BackHandler
API added in Activity Compose 1.3.0-alpha02 should make it even easier to integrate with things like the system back button: https://developer.android.com/jetpack/androidx/releases/activity#1.3.0-alpha02
5 Views