Android, Jetpack Compose, Navigation, Type Safety, Kotlin.
removed the book retrievement. Ok, everything compiles so let’s run the app and… OOPS!!! java.lang.IllegalArgumentException: Cannot cast book of type com.example.composenavigation.typesafety.Book to a NavType. Make sure to provide custom NavType for this argument. Having it working in such a simple