I am working in a project where different components in Android source tree need to communicate. For example, the accessibility service need to sends a request to ImageView class to notify when ever a new image view is instantiated.
I want to know some ways to handle theses scenarios, my broadcast receiver did not work. And it does not work without a context. Can you guys suggest some other approaches? If I implement memory file how I can handle notifications that some requests have been made?