MCMatan
MCMatan

Reputation: 8843

Distribute Events by Topic on Android

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

Upvotes: 2

Views: 41

Answers (0)

Related Questions