In MVP logic the presenter is not something that can have `getSomeData() ` method, you report…
Андрей Дементьев
1

Thank you for your feedback.
I agree with you. However, seeing that the view is dumb in MVP, the Model needs to hold the data related to the Adapter. Therefore, the only way to pass the data between the two is the Presenter.

Eventually, this can clutter your presenter and give it too many responsibilities. Therefore, in my GitHub repository, I have built an even more modular structure. In that structure, a unique controller is given the responsibility for the data passing. As a result, the presenter is free to respond to views action.

Your response was constructive, and I encourage you to take a look at my GitHub example. Hopefully, you could advise me some more ;)

Show your support

Clapping shows how much you appreciated T.Surkis’s story.