I'm trying to post an event from within a subscriber
@Subscribe
public void onFirstEvent(FirstEvent event) {
...
bus.post(new SecondEvent(...));
}
And in my other class, where I handle SecondEvent
, I use a subscribe method in the same way. The problem is, the method that subscribes to SecondEvent
is called even before onFirstEvent()
is called.
What am I doing wrong?