i am making a mvp app and i want it to have the following architecture (more or less) in terms of event bus @greenrobot:
The problem is i am using greenrobot as the event bus and i desire to have TWO event buses. one for the data bus and one for the UI bus. These two buses should not know about each other. So to create the first eventBus i do the following:
EventBus myEventBus = EventBus.getDefault();
But i want to create another event bus that is not default so that i can have two. how is this done. I assume i can use eventBusBuilder and do the following:
EventBus.builder().build();
and this will create me another eventBus which will not contain events of the default. is this correct ? i cant find any examples online and i wanted to make sure im not missing any configurations. I want it to behave the same as the default bus but just another instance of it.