In my code I'm listening for events using @Subscribe
anotation:
@Subscribe
public void orderUpdate(OrderUpdateEvent event)
My problem is that this method is called multiple times (1-3 depends from run to run) for the same event object.
This is how I send this event:
busProvider.getEventBus().postOnMain(new OrderUpdateEvent();
What could be the cause of that? Do I'm missing something?
unregister()
was not called. – Shultz