TomRidder
TomRidder
maybe in service module ,u did not add the implementation of Eventbus
that 's nice cause when subscriberMethods have no data but it 's not null,it will not crash but with EventBusException throwed ,the developers will know the reason of not recevie...
maybe u should use sticky event(post before subscribe)
add `-keep class cn.jpush.** { *; }` to proguard-rules.pro may help u solve it
maybe u register in the wrong activity
maybe u can do this `public class TestAty extends Activity { Presenter presenter; protected void onCreate() { presenter = new Presenter(); EventBus.getDefault().register(this); } protected void onDestroy() { super.onDestroy(); EventBus.getDefault().unregister(this); }...
maybe u did not add annotation @subscribe to your method
eventbus will find all @subscribe method in register Class and it 's all super class. so all the three onEventMessage will be executed.
when register ,eventbus will post sticky events then execute the subscribeevents but u register in onCreate which the UI variables (like TextView and EditText) has not been initialized so it...
> In source code, BackgroundPoster and HandlerPoster use PendingPostQueue to store events, but in EventBus use ArrayList to store events. Why not use the same queue as Handler? the reason...