Tutorial 8

Interactive Phase 2 quiz lab.

The Phase 2 quiz checks app-flow reasoning: navigation, state, storage choices, and user-facing error behavior.

Multi-select: states a catalogue app should handle

Question: Which UI states should a network-backed catalogue handle?

Drag-and-drop: order a detail navigation flow

Drag the steps into the correct sequence. Use move buttons on touch devices.

Back returns to the previous list state
User taps a business row
Detail screen loads business by id
Navigate with the business id route argument

Matching: choose the right storage

Code review prompt

Find the user-facing problem before checking the explanation.

if (businesses.isEmpty()) {
    // Do nothing
} else {
    BusinessList(businesses)
}