I recently changed my app to be less dependent on other parts of the application by switching to eventbus. Now I am seeing a strange issue, I don't know if its a bug or intended feature of green robot's eventbus.
Say I have an Event A and Event B, Well event B extends A since A is a generic event of type A. My helper classes have a subscribe to both Events A and B, what I am seeing is it fires B, then A. Is there a way to prevent this from occurring while keeping my polymorphism other than checking if its an instanceof in the generic subscribe listener? I use the A event as a broadcast of types should it need to be handled in more than one class.
Thanks