In my code, I listen to events using @Subscribe anotation:
@Subscribe public void orderUpdate(OrderUpdateEvent event)
My problem is that this method is called several times (1-3 depends on the launch to run) for the same event object.
This is how I send this event:
busProvider.getEventBus().postOnMain(new OrderUpdateEvent();
What could be the reason for this? Am I missing something?
source share