Just a simple example on how to use EventBus on Android
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


Sample to demonstrate EventBus which has inited by https://github.com/kevintanhongann/EventBusSample

This Fork

Added a 3rd fragment to demonstrate more about normal events and sticky-events.

  1. Refactoring codes on the original sample.
  2. Use post() to update ActionBar's title.
  3. Use post() to switch different Fragments.
  4. Use postSticky() to update StickyEvent.
  5. Update .gitignore and git-rm some objects.
  6. Added BaseFragment to demonstrate coexistence between register and registerSticky.
  7. Added NoStickyFragment that can handle normal event but unavailable for stickies.