Find your content:

Search form

You are here

EventBus in Android

 
Share

EventBus in Android

EventBus is an open-source library for Android and Java using the publisher/subscriber pattern for loose coupling. EventBus enables central communication to decoupled classes with just a few lines of code – simplifying the code, removing dependencies, and speeding up app development.

Benefits

  • simplifies the communication between components
  • decouples event senders and receivers
  • performs well with UI artifacts (e.g. Activities, Fragments) and background threads
  • avoids complex and error-prone dependencies and life cycle issues
  • is fast; specifically optimized for high performance
  • is tiny (<50k jar)
  • is proven in practice by apps with 100,000,000+ installs
  • has advanced features like delivery threads, subscriber priorities, etc.

My Block Status

My Block Content