EventBus : Android Optimized Event Bus


EventBus is an Android optimized publish/subscribe event bus that simplifies communication between Activities, Fragments, Threads, Services, etc. It simplifies communication between app components by decoupling event senders and receivers which translates to less code and better quality for the developer. It is based on conventions, optimized for performance and supports subscriber and event inheritance and selective registration.

Using EventBus involves four steps outlined below,

  • Implement any number of event handling methods in the subscriber
  • Register subscribers
  • Post events to the bus
  • Unregister subscriber


Install/import with Gradle

Instructions for Gradle

Add the following,

dependencies {
    compile 'de.greenrobot:eventbus:2.2.0'
Install/import with Maven

Instructions for Maven

Grab via Maven,

Facebook Twitter Google Reddit LinkedIn
  • Price : Free
  • License : Apache License, Version 2.0
  • Visit Link

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *