Android, Jetpack Compose, Navigation, Type Safety, Kotlin.
(0..25).map { Book(it, "Book $it") } fun getBook(id: Int) = books.first { it.id == id } } Now we create the first screen: a list of books. It’s a LazyColumn and a simple cell to represent each book. Clicking on a book will hoist that event to the caller: @Composable fun ListOfBooksScreen( modifier: