Where/when should I add the index for Green Robot Event Bus library:
EventBus.builder().addIndex(new MyEventBusIndex()).installDefaultEventBus();
as described here? I've put this onCreate() method of my launcher activity, but sometimes I get:
Caused by: org.greenrobot.eventbus.h: Default instance already exists. It may be only set once before it's used the first time to ensure consistent behavior.
Where am I wrong? Many thanks.