Before your code becomes an unmanageable mess, use Rxjava to orchestrate all these interactions in a simple way. There are many developer tools that notify about operations, but RxJava can help you react to the notifications.
Related Articles
This post first appeared on Grossum Software Development & Outsourcing, please read the originial post: here