Write For Us

Best practices for saving UI state on Android

E-Commerce Solutions SEO Solutions Marketing Solutions
62 Views
Published
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.

Resources:
Saving UI state on Android docs → https://goo.gle/438zaus
Save UI state in Compose → https://goo.gle/3KwbwQb

Speaker: Manuel Vicente Vivo

Watch more:
Watch all Android and Play Sessions → https://goo.gle/IO23_android_play
Watch all the Technical Sessions from Google I/O 2023 → https://goo.gle/IO23_sessions
Watch more Mobile Sessions → https://goo.gle/IO23_mobile
All Google I/O 2023 Sessions → https://goo.gle/IO23_all

Subscribe to Android Developers → https://goo.gle/AndroidDevs

#GoogleIO #Featured #AndroidDevelopers #foundation
Category
Software
Tags
Android, Google I/O, Google IO
Sign in or sign up to post comments.
Be the first to comment