Sign in Go Pro

Event Bus

Caching Data with Sticky Events

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson



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

Source Code:
EventBus Sample:

GreenRobot’s EventBus:


There are no comments on this lesson, start the conversation below ...

You need to go PRO to post comments.

Lessons in Event Bus