Module 1 of 3 in Create a Multiscreen App in Android
State Management in Jetpack Compose
Module outcomes
- Strategies for managing state throughout an app
- Rebuild user interface when state changes
- Persist app state in the app when a configuration change occurs
Covered concepts
- State variables
- Recomposition
- State hoisting
- Remembering state
- Configuration changes
Module content
1
Understand State
Lesson (7 mins)
1
Understand State
Lesson (7 mins)
2
Remember State Variables
Lesson (6 mins)
2
Remember State Variables
Lesson (6 mins)
3
State Hoisting
Lesson (13 mins)
3
State Hoisting
Lesson (13 mins)
4
Handling Configuration Changes
Lesson (4 mins)
4
Handling Configuration Changes
Lesson (4 mins)
5
Saving State
Lesson (11 mins)
5
Saving State
Lesson (11 mins)