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 Vi
Also be aware that onSaveInstanceState can be called on a fragment directly after onCreate (onCreateView, onActivityCreated, onStart, and onResume will NOT be called), if the fragment is attached to an activity but not shown, then destroyed. Thus you need to be sure that everything you reference in onSaveInstanceState is initialized in onCreate, otherwise you risk a NullPointerException.