2016年11月11日

摘要: 什么时候需要 Looper Looper用于封装了android线程中的消息循环,默认情况下一个线程是不存在消息循环(message loop)的,需要调用Looper.prepare()来给线程创建一个消息循环,调用Looper.loop()来使消息循环起作用,使用Looper.prepare() 阅读全文
posted @ 2016-11-11 18:05 屌丝迷途 阅读(23165) 评论(0) 推荐(2)

导航