I'm working on a multi module compose project where I'm having difficulty navigating from one module to another the module dependancy is follows as bellow:
- common module (common ui component for whole app)
- app module (having dependancy of common, login and other features - knows about every module in the project)
- login module (having dependancy of common module)
- feature 1 module (having dependancy of common module)
- feature 2 module (having dependancy of common module)
I need to navigate to login from feature 1 or 2 when logout and vice versa when logout, circular dependancy error is coming, please help
P.S Im not using any DI, or is it necessary to use DI?