When activity is destroyed, run it again and recover in the process Will the Intent (to be exact, bundle contained in the Intent) used during the above Activity be recovered? If it is restored, is the recovery time data at the time of destruction? Or is it data at the time of startActivity?
android
When an activity is restored after it has ended due to insufficient memory, Android manages (save/restore) the state of View only (if Android:id exists) by default. Therefore, the required information among Intent's Bundles used during the activity must be stored and restored directly using the following functions.
Please refer to the following documentation for sample code and more information on this part.
© 2024 OneMinuteCode. All rights reserved.