Android, Jetpack Compose, Navigation, Type Safety, Kotlin.
@Serializable entities which represent the routes of each screen. They can contain the navigation arguments too. startDestination uses the object ListOfBooks directly. The navController.navigate method creates a new BookDetail using the id of the selected book. The backStackEntry.toRoute method