Distribute Events by Topic on Android

51 Views Asked by At

I am new in the Android environment, and trying to publish topic events, currently using "EventBus" framework, but can not seem to find an option to do so.

Example:

Say I have a "ConversationUpdateEvent" but would like to fire the event by topic, or key for a specific conversation Id.

Something like:

Subscribe:

Conversation conversaiton = new Conversation(String conversationId)

Fire:

EventBus.post(conversaiton)

Only subscribers to the exact conversation Id will get notified

0

There are 0 best solutions below