All the sources I read have all mentioned couple of cases and concluded with “a few other cases”. What are ALL the cases when the onSaveInstanceState method called in a View/Activity?
Advertisement
Answer
The doc says
This method is called before an activity may be killed so that when it comes back some time in the future it can restore its state.