I am trying to understand better MVP Architecture on Android.To do that, i want to implement MVP on android project from beginning.
First i tried to use one module, which is app(Application app),but my app started to grow a little fast than i expected.And testing takes way to much time to finish or i they give me an error and never pass. I think i made this version of app very tight coupled.
The next thing i tried to do is to use 3 Modules Projects.
--app (Application module)
And started to read about to set up the dependency, and i think i hit a crossroad.
I understand that Domain layer, must be and should be independent.
So, the dependency should be like this App ----> depend on Domain Layer or Data Layer or both? Data layer ----> depend on Domain layer