greenrobot / EventBus

Event bus for Android and Java that simplifies communication between Activities, Fragments, Threads, Services, etc. Less code, better quality.
http://greenrobot.org/eventbus/
Apache License 2.0
24.67k stars 4.66k forks source link

fix the issue of Property priority not respected in sticky event #711

Open tomridder opened 1 year ago

tomridder commented 1 year ago

fix the issue of Property "priority" not respected in sticky event #656 reason of issue:the list subscriberMethods is not sorted by priority before postSticky solution: sort the subscriberMethods by priority ps:i add the testcase in EventBusStickyEventTest and it passed ... and all test case in EventBusTestJava and EventbusTest module are all passed :)

greenrobot-team commented 1 year ago

Thanks! We'll consider this in an upcoming release.