1 min readOct 8, 2018
Yes, You are correct.
But sometimes Presenter have to interact with adapter data.
Guess that Facebook support Like
button at each posting.
when user click Like
, it should have network api. It means Presenter
have to know data, at least id of data.
In this case, Many people implement wrong. In Presenter, it calls View.getClickedData()
.
After network, Presenter
will update data to notify successful network.
In this case, also Between Presenter
and View
, they communicate many time.
So in this posting, I want to explain how to make these decoupling.