Skip to content

onSaveInstanceState() of Activity is called before onStop(), not onDestroy() #28

Description

@RexAyanami

According to Android doc: (https://developer.android.com/reference/android/app/Activity.html#onSaveInstanceState(android.os.Bundle))
In Fragment, this method may be called at any time before onDestroy();
But in Activity, this method will be called before onStop() without guarantees against onPause()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions