Android, Jetpack Compose, Android App Development, Mobile App Development, Programming.
Routes() // data class with custom primitive } Notice the @Serializable annotation above all classes. We need to make our classes serializable, so the arguments can be passed around. Feel free to customize your routes and primitives inside of them as you like. How to pass more complex classes will