Decoupled android app communication with EventBus
While creating an app which had a lot of in app communication in use, I used broadcast receivers with bundles and parcelables. It quickly grew into a lot of code which was tightly coupled and hard to keep track of. Not to mention the time spent removing error cases due to activity and fragment lifecycle events.
So I decided to find a better way out for this, I came across a post about loose coupled in app communication using EventBus and I decided to give it try.