android_catalogue1-5 Exercise 1: Navigate and Delete ===================================================== Expected sequence: 1. Tap + : a sample item appears in the list (temporary behaviour from Chapter 4). 2. Tap its row: the Details screen shows title, Type "Book", Creator "Sample creator" and an "Added" date. Blank fields (format, year, tags, notes) are not shown at all. 3. Press Back (system or arrow): the list returns, the item still there. 4. Open it again, tap the bin: dialog "Delete this item?" naming the item. Tap Cancel: dialog closes, the item stays. 5. Tap the bin again, then Delete: the detail screen closes and the item is gone from the list. If you forgot the serialization plugin: The first thing to fail is the BUILD, not a step of the sequence: the @Serializable annotation on the routes is unresolved (or the routes compile but the plugin never generates the serializers, and the app crashes the first time it navigates, at step 2, with a "serializer not found" kind of error). Fix: apply org.jetbrains.kotlin.plugin.serialization in app/build.gradle.kts and add kotlinx-serialization-json. Other common problems: - Crash on opening the detail screen mentioning SavedStateHandle or a missing argument: the screen was not created inside composable in the NavHost, or MainActivity lacks @AndroidEntryPoint. - Back exits the app from the detail screen: the start destination and navigate() calls are not using the same NavController.