Fork me on GitHub

Activity的生命周期和启动模式

Activity 的生命周期和启动模式

ActivityThread#performLaunchActivity - oncreate、onstart、onrestoreinstancestate、onpostCreate(Called when activity start-up is complete (after {@link #onStart} and {@link #onRestoreInstanceState} have been called). Applications will generally not implement this method; it is intended for system classes to do final initialization after application code has run.)

Activity 启动过程中最重要的几个类:Instrumentation、ActivityThread、Activity

小马哥Mark wechat
欢迎关注我的微信公众号,订阅我的博客!
我一直在期待,那个最帅的人出现,哈哈!

热评文章