2

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

King of Masses
  • 18,405
  • 4
  • 60
  • 77
MCMatan
  • 8,623
  • 6
  • 46
  • 85

0 Answers0