DarkNormal / Airgead

0 stars 0 forks source link

MVP architecture branch - Presenter is aware of Android system #11

Closed DarkNormal closed 7 years ago

DarkNormal commented 7 years ago

currently the Presenter in the MVP dev branch has a reference to the content resolver. I think this should not be the case, as it is now dependent on the Android system.

I've seen examples of where a Repository pattern is used instead to access data, so I think this should be the next step on the mvp-development branch

DarkNormal commented 7 years ago

using https://github.com/googlesamples/android-architecture/tree/deprecated-todo-mvp-loaders/todoapp/app/src/main/java/com/example/android/architecture/blueprints/todoapp as an example to follow to remove Android-specific code from Presenter / minimize awareness of Android OS

DarkNormal commented 7 years ago

MainPresenter now unaware of Android system, MVP development will continue on mvp-development branch