jeudi 16 avril 2020

Should Presenter handle all events of View in MVP design architecture in Android?

Suppose I have a Button in my Activity which shows me a Toast message when it is clicked. Now my question is, should I notify the Presenter when my button is clicked and the Presenter should decide what the View should do or it is not required to notify the Presenter and my View can itself show a message?

Aucun commentaire:

Enregistrer un commentaire