Best practices for saving UI state on Android
Learn best practices to save UI state properly in both the View system and Jetpack Compose by comparing APIs.
Best practices for saving UI state on Android
Learn best practices to save UI state properly in both the View system and Jetpack Compose by comparing APIs.
/2023/data/im/86439875-e3a1-4ca7-92de-79cb079a111c.jpeg
Overview
Saving a UI state properly is essential for providing a great UX experience. Your users might be disappointed if your screen doesn't preserve its state during a configuration change, activity recreation, or system-initiated process death. Learn best practices to save UI state properly in both the View system and Jetpack Compose by comparing APIs such as remember, rememberSaveable, onSaveInstanceState, ViewModel, and SavedStateHandle.
Speakers
Resources
Saving UI state on Android docs
Learn moreSave UI state in Compose
Learn more
Connect with developers
Join developer communities around the world for networking, meetups, collaboration, and more.
Find a community
Continue learning
Grow your skills around the Google technology you love.