Learn about Green Robot’s EventBus and why you should be using it in all your Android applications.
The observer pattern allows us accomplish something extraordinary in software architecture. What that allows us to accomplish is low coupling, high cohesion. What that means is, we are able to avoid connecting all of our class instances together via references in code, but maintain a system of these objects that communicate via an event bus system. In other words, instead of passing references of objects back and forth to allow us to make a callback on a parent activity, for example, we can use EventBus instead. You’ll begin to understand this better when we go through the code in Android Studio.
Green Robot’s EventBus
Your armorer: https://twitter.com/MkIXI