Intermodule (library projects) communication in android application
<p>In the below shown diagram, I am having 3 modules(as android library) which extends the base "common components module" and all this 3 modules will be added to a single android application. All 3 modules are independent modules but when it comes as an application, it would require to share some data, launch other module and requires more inter-communication. </p>

<p>So can anyone let me know how we can implement the "Data Sharing Layer" and "Navigation Controller" in this kind of architecture? </p>

<p>Example: Module1 -> Login, Module2 -> Profile Management etc and there could be "n" number of modules based on the application need.</p>

<p><a href="https://i.stack.imgur.com/kxeMN.png" rel="noreferrer"><img src="https://i.stack.imgur.com/kxeMN.png" alt="enter image description here"></a></p>