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
I did it simply:
Handler handler = new Handler(Looper.getMainLooper()); handler.post(new Runnable() { @Override public void run() { bus.post(event); } });
Happy coding.. :)