At the moment, I hand over a list to the view. I display this List on the Website.
But if i want to shorten the list for the mobile view, it would be logical to limit the list in the controller and display the shorter list on the mobile device.
But how do i distinguish between two resolutions in the Controller, is this even possible?
Or do you recommend me to hand over two lists and choice in the view which one to pick?
I’m just not sure, which is the appropriate way.