Skip to content

Trigger ALL sticky events on registerSticky() #90

@ghost

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions