Spotify-Clone icon indicating copy to clipboard operation
Spotify-Clone copied to clipboard

Activity survive configuration changes but not survive killing by the system

Open pavelpoley opened this issue 5 years ago • 0 comments

Activity survive configuration changes but not survive killing by the system for example when the app was long time in background.

To simulate this issue enable "don't keep activities" Developer options > don't keep activities

  1. Enter the app click on one of the categories
  2. Press home button
  3. Enter the app again and click on artist

The app will crash.

Will be nice to see some advanced video on this complicate and confusing topic (ConfigurationChange, LowMemory, State loss) :)

pavelpoley avatar Jun 29 '19 12:06 pavelpoley