W
W
Worddoc2019-09-30 00:38:09
Design patterns
Worddoc, 2019-09-30 00:38:09

Why is IVIew needed in MVP?

Good evening.
Nubian question on MVP, to which I did not find an answer: why in MVP does the presenter change the view through the view interface? As far as I understand, IView is a separate entity that describes what properties a view can take and how this view can be changed. But why are these properties and methods not hardwired into the view itself, so that the presenter can directly change the view by pulling its methods?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question