2017年10月18日
摘要: 发送事件(post) 当需要发送事件时,调用EventBus.getDefault().post(event)即可,EventBus会将事件发送给所有已经注册了监听该类事件的订阅者。post的实现如下: 第2-4行,currentPostingThreadState是ThreadLocal<Post 阅读全文
posted @ 2017-10-18 11:32 游不动の鱼 阅读(362) 评论(0) 推荐(0) 编辑