This PR makes it possible to send messages between modules to communicate
Why
You want to send message from a module to another module, for example you'll want to notify all modules when they can start using the service locator, you want to let the UI know when a new Bluetooth device is detected and you'll want to communicate with other modules recently received public keys.
How
This PR is implemented by using Greenrobot's Eventbus, arguably the best open-source Eventbus library optimized for Android
Alternative implementation
I have considered to implement an Eventbus myself, but Greenrobot's eventbus is proven to work and has some advanced features like support for multithreading.
Relevant Issues: -
Related Pull Requests: -
What
This PR makes it possible to send messages between modules to communicate
Why
You want to send message from a module to another module, for example you'll want to notify all modules when they can start using the service locator, you want to let the UI know when a new Bluetooth device is detected and you'll want to communicate with other modules recently received public keys.
How
This PR is implemented by using Greenrobot's Eventbus, arguably the best open-source Eventbus library optimized for Android
Alternative implementation
I have considered to implement an Eventbus myself, but Greenrobot's eventbus is proven to work and has some advanced features like support for multithreading.
Notes
-