-
Notifications
You must be signed in to change notification settings - Fork 0
View
josheroff edited this page Jan 27, 2017
·
16 revisions
#View This is either an Activity or Fragment. These are dumb classes whose only purpose is to hold the references to the widgets from the XML. It simply receives UI events, such as a click, and passes them off to be handled elsewhere (its presenter). There is minimal to no logic in the entire class due to this delegation of responsibility. In addition to the references to the widgets, the View needs a reference to its Presenter, which it gets from the Host component (more on Dagger to come).