阅读背景:

onSaveInstanceState和onRestoreInstanceState触发的时机_weixin_34401479的博客

来源:互联网 

先看Application Fundamentals上的一段话:
 
 Android calls onSaveInstanceState() before the activity becomes vulnerable to being destroyed by the system, but does not bother calling it when the instance is actually being destroyed by a user action (such as pressing the BACK key) Android c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: