State Management in Jetpack Compose

Sep 10 2024 · Kotlin 1.9.22, Android 34, Android Studio Iguana | 2023.2.1 Patch 2

Lesson 04: Handling Configuration Changes

Demo

Episode complete

Play next episode

Next

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

In this demo, you’ll use the rememberSaveable function to save the Wellness Club App’s state across configuration changes.

var memberName by rememberSaveable { mutableStateOf("") }
var memberEmail by rememberSaveable { mutableStateOf("") }
See forum comments
Cinema mode Download course materials from Github
Previous: Instruction Next: Conclusion