-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
Description
It would be great if registerSticky() method trigger ALL sticky events current class is subscribed to. My case: activity (sender), and fragment (built into layout) inside it (receiver). Activity sends bunch of events from onCreate, but, of course, they should be posted as sticky as there still no live fragment.
When fragment is fully created it is registered to the EventBus, but now I have to check if there are sticky events for ALL event types this fragment is subscribed to. Very ugly.
It would be much better if registerSticky() trigger delivery of all sticky events sent to current class.