When using an Event Bus you may occasionally have events that contain data that is useful after the event has been posted. You can take advantage of Sticky events to act as a simple caching solution in this scenarios. Learn all about it in this lesson!
In this lesson you will learn:
- How to post a Sticky event
- How to automatically receive a Sticky event
- How to manually retrieve a Sticky event
- How to remove Sticky events
EventBus Sample: https://github.com/CasterIO/StickyEventsExample
GreenRobot’s EventBus: http://greenrobot.org/eventbus/documentation/configuration/sticky-events/