Skip to content
DaanVanYperen edited this page Sep 15, 2014 · 1 revision

Prioritizing event handling

Set priority on listener

@Subscribe annotations are called from high to low priority.

@Subscribe(priority=1000) 
public void iHavePriority( MyEvent event ) { .. }

@Subscribe(priority=-1000) 
public void imCalledAfter( MyEvent event ) { .. }