0Pricing
Android Academy · Lesson

Recomposition Explained

How Compose updates the UI.

What Is Recomposition?

Recomposition is Compose re-running your composable functions to update the UI when the state they read changes. It is how the screen stays in sync with your data.

Triggered by State Reads

Compose tracks which composables read which state. When a state value changes, only the composables that read it are scheduled to recompose.

All lessons in this course

  1. State with remember and mutableStateOf
  2. Recomposition Explained
  3. State Hoisting
  4. rememberSaveable
← Back to Android Academy