android属性android:stateNotNeeded

android:stateNotNeeded

Whether or not the activity can be killed and successfully restarted without having saved its state.

a True ensures that the activity can be restarted in the absence of retained state。

保证activity由于某种原因崩溃掉后,不会被系统删除。

你可能感兴趣的:(android属性android:stateNotNeeded)