标签: java android oncreate android-handler ui-thread
我在onCreate()方法内为UI线程启动了处理程序,并使用该处理程序发布了新消息。
onCreate()
android系统将如何在messagequeue内部处理此代码
messagequeue
是两条消息,一条消息用于onCreate()方法,另一条消息用于runnable处理程序 否则oncreate()方法内的每个行代码将成为messagequeue内的消息
runnable
oncreate()
我的问题是因为我不了解oncreate()方法与UI线程messagequeue一起工作