Refactor presentation MVP presenters and views#214
Refactor presentation MVP presenters and views#214ihorvitruk wants to merge 4 commits intoandroid10:masterfrom
Conversation
|
@tmingos Thanks for your feedback about my refactoring! I really appreciate it.
I have updated my pull request with your suggestion. |
|
Very cool refactoring, using MVP in this way makes more sens. What I don't really like about MVP in android is that the presenter holds a reference to the view and views in android have a lifecycle, I had separated this via a contract, very similar to the implementation discussed in this article https://medium.com/@manuelvicnt/rxjava2-android-mvvm-lifecycle-app-structure-with-retrofit-2-cf903849f49e#.kx4cntcyi |
No description provided.