YoVDO

Best Practices for Saving UI State on Android

Offered By: Android Developers via YouTube

Tags

Android Development Courses ViewModel Courses Jetpack Compose Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore best practices for saving UI state on Android in this 21-minute video tutorial. Learn how to preserve screen state during configuration changes, activity recreation, and system-initiated process death to enhance user experience. Compare APIs such as remember, rememberSaveable, onSaveInstanceState, ViewModel, and SavedStateHandle for both the View system and Jetpack Compose. Discover techniques for testing saved state APIs, contributing to saved state from custom classes, and controlling rememberSaveable value's lifecycle. Gain insights into persistent storage options and recap key concepts for implementing robust UI state preservation in Android applications.

Syllabus

- Introduction
- Losing app state
- ViewModel
- Persistent storage
- Saved State APIs
- Testing saved state APIs
- SavedStateHandle
- Contribute to saved state from your own classes
- Control rememberSaveable value's lifecycle
- Recap


Taught by

Android Developers

Related Courses

Creative, Serious and Playful Science of Android Apps
University of Illinois at Urbana-Champaign via Coursera
Pattern-Oriented Software Architectures: Programming Mobile Services for Android Handheld Systems
Vanderbilt University via Coursera
Android. Programación de Aplicaciones
Miríadax
Programming Mobile Applications for Android Handheld Systems: Part 1
University of Maryland, College Park via Coursera
Begin Programming: Build Your First Mobile Game
University of Reading via FutureLearn