You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the service listens on the main thread to the event, the event might get queued on the main thread event queue and not be delivered before the service is destroyed? And in general: does your code make sure the service is between the created and destroyed state?
Anyhow, this programming question is probably something to ask on Stack Overflow.
MyService.java
MyFragment.java
EventBus.getDefault().post(new MyEvent());
manifast.xml
=======================================================
ps1: MyFragment send the event after MyService started.
ps2: EventBus version : 3.1.1
android minSdkVersion 14
android targetSdkVersion 28
The text was updated successfully, but these errors were encountered: