Skip to content

Android Intermediate

Hub › Android › Intermediate

What you'll build

You extend the beginner one-screen Compose list from a hard-coded array into a real data flow: a ViewModel exposes a StateFlow<UiState> (Loading, Content, Error), an async repository provides the data, the screen renders each state, and tapping a row navigates to a detail screen with Navigation Compose.

The ladder

  1. 01 Why state
  2. 02 UiState and ViewModel
  3. 03 Async repository
  4. 04 Collect state in Compose
  5. 05 Loading and error UI
  6. 06 Navigate to detail
  7. 07 Run and preview

Start01 Why state