Skip to content

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

@RexAyanami

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()

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