Note the "Killable" column in the above table -- for those methods that are marked as being killable, after that method
returns the process hosting the activity may killed by the system at any time without
another line of its code being executed
onSaveInstanceState在系统之后可能会杀掉Activity时调用,onStop之前
最新推荐文章于 2022-06-21 17:22:48 发布
本文探讨了标记为Killable的方法特性,这类方法执行完毕后,承载该活动的进程可能会被系统随时终止,且无需执行额外的代码行。
1万+

被折叠的 条评论
为什么被折叠?



