Taken from https://greenrobot.org/eventbus/ EventBus: Events for 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. Your benefits using EventBus: It… 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 (~60k jar) is proven in practice by apps with 1,000,000,000+ installs has advanced features like delivery threads, subscriber priorities, etc. Further EventBus Features Convenient Annotation based API: Convenient Annotation based API: Simply put the @Subscribe annot...
Comments
Post a Comment