Android, Jetpack Compose, Navigation, Type Safety, Kotlin.
parcelize plugin in the build.gradle(app) file: plugins { ... id("kotlin-parcelize") } Then, we make our model parcelable by annotating the Book class with @Parcelize and implementing the Parcelable interface: @Serializable @Parcelize data class Book(val id: Int, val title: String): Parcelable Now,