Open StuStirling opened 8 years ago
Maybe you should go for One Module Clean Architecture approach. We have had discussions here, it is a PR and the idea is to not merge but keep it around: https://github.com/android10/Android-CleanArchitecture/pull/103
I have a library module that I am reusing across multiple applications.
The library is composed of two modules. One android library module that depends on a java library module that contains my domain logic.
Then in the project that I depend on this library I have split into the three modules used in the
Android-CleanArchitecture
application.My questions is:
How do I use objects from the domain module from my android library in the main project's
domain
module? At the moment I would have to convert the main project'sdomain
module to an android library module.At the moment, in the
Android-CleanArchitecture
application, it doesn't really use any reusable modules so I couldn't see how this would be done.