2. Via
Callback or
Register Handler
• View send input direct to the Controller via callback or handler.
• View doesn’t have any knowledge of the Controller, it’s receive
update direct from the Model.
• Use where the connection between View and rest of the program is
not always available.
MVC
3. Called using
function on instance of
presenter
• View communicate with Presenter by direct calling function on an
instance of the presenter.
• The Presenter communicate with the View by talking to an
interface implemented by the View.
• Used where binding via data context is not possible.
MVP Using interface
4. • Input is direct to the View and View binds direct to the View Model.
• Changes in View are automatically reflected to View Model and
change vice versa.
• Used where binding via a data context is possible
MVVM