Android:从源码看onSaveInstanceState的调用条件

 Called to retrieve per-instance state from an activity before being killed so that the state can be restored in onCreate or onRestoreInstanceState (the Bundle populated by this method will be passed to both). This method is called before an activity may be killed so that when it comes back some time in the future it can restore its state. For example, if activity B is launched in front of activity A, and at some point activity A is killed to reclaim resources, activity A

Android:从源码看onSaveInstanceState的调用条件最先出现在Python成神之路

版权声明:
作者:ht
链接:https://www.techfm.club/p/8588.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>