Study
CS-313 route
Unit 3 · Lesson 4 of 4 12 min

Configuration Changes, State Preservation and the ViewModel

Why turning the phone sideways can wipe a half-typed form, and the three tools that stop it.

What this unit covers

Unit 3: Android Application Fundamentals

  1. 1 Android Application ComponentsFour kinds of building block, each one an entry point the system can start on its own. · 11 min
  2. 2 Intents, Intent Filters and the Android ManifestHow one screen asks for another, and how an app tells the system what it is made of. · 11 min
  3. 3 The Android Activity LifecycleSix callbacks that tell a screen when it is born, seen, touched, covered, hidden and gone. · 13 min
  4. 4 Configuration Changes, State Preservation and the ViewModelWhy turning the phone sideways can wipe a half-typed form, and the three tools that stop it. · 12 min