EventBus的使用 使用EventBus, 主要目的在于实现App组件间通信的解耦. git地址: https://github.com/greenrobot/EventBus 基本使用流程: 1. 编写事件类 2. 注册事件订阅者 3. 在订阅者内部实现订阅 huangf 2014-11-06 11:45:24
EventBus 在EventBus中,使用约定来指定事件订阅者以简化使用。对应的函数名是onEvent。2.MainThread:事件的处理会在UI线程中执行。5.取消注册: bigconvience 2015-03-30 19:58:40