I am writing an application that will have a JSON
file which contains data that should be parsed and saved into ItemModel
POJOs.
Let\'s assume
There is no exact/correct definition of implementing MVP in Android
Here's a great article on MVP
I'd do MVP as follow.
Activity
, Fragment
, Adapters
- Activities & Fragment hold reference to a Presenter that gives them data to display. How this data/messages are displayed, look + feel etc. is dealt with in the View.Activity
or Fragment
)Here's a simplified diagram of MVP