安卓Eventbus无响应总结
在onResume中没有注册EventBus
我的解决方法就是在onResume中注册后,即解决了问题。
也有说要想在
public void onEventMainThread(MyEvent event)
接收到消息必须在发送消息前注册。
安卓Eventbus无响应总结
在onResume中没有注册EventBus
我的解决方法就是在onResume中注册后,即解决了问题。
也有说要想在
public void onEventMainThread(MyEvent event)
接收到消息必须在发送消息前注册。