Skip to content

kevintanhongann/EventBusSample

Repository files navigation

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.

About

Just a simple example on how to use EventBus on Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published