I am trying to implement MVP in my android project. I have the view which is basically my activity. which I am trying to make basically a dumb view so It calls my presenter to do all of its work.
I have a presenter class, which acts as an intermediary between the model and the View and finally the model Which I use to retrieve and save the data that needs to be represented in the view and is passed back via the presenter. I hope this is correct so far?
Basically I want to create and Gridlayout of Image buttons in my Mainactivity(view). These image buttons will basically be thumbnails from a folder on the phone. So basically my model will parse a folder and return Images to my view. my question is should Iterate over the images in the View as the View is meant to be dumb? I feel it shouldn't although on the other hand this is essentially UI logic, as it is creating a view and only dealing with a bunch of UI elements (Images).Any help is appreciated.