Component - Saving instance state
This component shows how an Android app saves and restores its state when the screen rotates or the app is temporarily stopped. It keeps the user input safe so it doesn't disappear.
This component shows how an Android app saves and restores its state when the screen rotates or the app is temporarily stopped. It keeps the user input safe so it doesn't disappear.
Activity ├── LinearLayout (vertical) │ ├── EditText │ └── Button └── TextView