CodeChai
Published in

CodeChai

Passing Parcelable / Serializable in Jetpack Compose Navigation

A simple approach to pass the Parcelable data in Jetpack Compose Navigation

Originally Published at wajahatkarim.com

NOTE: The Jetpack Compose team doesn’t recommend passing Parcelable in the navigation composable routes. Instead the route structure in Navigation Compose has the best analog with a restful web service so developers should use

--

--

--

A place for programmers and writers turning coffee/tea into code, one line at a time.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Wajahat Karim

Wajahat Karim

🔥 Google Dev Expert (GDE) in Android . 📱 Android Dev . 💻FOSS Contributor . 📝Writer . 🎤 Speaker . 👶 Developer Dad — 🌐Subscribe at https://wajahatkarim.com

More from Medium

Mirror Effect with Jetpack Compose

My First Contact With Navigation in Jetpack Compose

How to Handle States in Jetpack Compose

Jetpack Compose Basics