Home > Mobile >  When they do development is how to avoid the lost data
When they do development is how to avoid the lost data

Time:12-05

Do localization data saved in onDestroy reliable, will there be some cases do not perform the life cycle? Why in the case of a system to kill process onSaveInstanceState and viewmodel savastate can save state, but may not be able to press the back button will save?

CodePudding user response:

Data acquisition or changes after the first save right away

As long as the data has changed
  • Related