Simple BusProvider.getInstance().post() bring exception not main thread. How to send event from Service to Activity with Otto event bus?
BusProvider.getInstance().post()
main thread
Just create the BasicBus with ThreadEnforcer.NONE to post event from non-main threads. The mentioned ThreadEnforcer.MAIN is exactly the opposite (and the default), which accepts only posts from the main-thread.
BasicBus
ThreadEnforcer.NONE
ThreadEnforcer.MAIN