Android消息机制

1.消息机制存在的原因 消息机制主要讲的就是Handler的运行机制,解决子线程无法操作主线程UI的问题 2.出现的问题 当在其他线程中操作主线程ui的时候,则会抛出异常   java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()   Android规定只
相关文章
相关标签/搜索