Simple-MVP-Retrofit-example icon indicating copy to clipboard operation
Simple-MVP-Retrofit-example copied to clipboard

CountryPresenter must not fetch data

Open sharukhmohammed opened this issue 6 years ago • 1 comments

CountryPresenter is currently responsible for fetching the data, which actually must be done by CountryModel. This violates the separation of concerns

sharukhmohammed avatar May 23 '19 11:05 sharukhmohammed

@sharukhmohammed I agree with you, however, it is not the case here. If you are taking into account the principles that follow DDD and/or Clean Architecture, this can be the truth. But this project is a simple example of how to start with MVP. The main idea of this repository is to show for beginners how to start using MVP and they should improve this code on their own projects.

jeancsanchez avatar May 23 '19 13:05 jeancsanchez