-
Notifications
You must be signed in to change notification settings - Fork 7
Reamp ideas
Artur edited this page Sep 3, 2017
·
3 revisions
Reamp screen is a class trio:
-
View
. A class directly displaying the data on the screen. Normally, it isActivity
,Fragment
, or a UI element. -
StateModel
. A class that contains all the data theView
requires displaying it on the screen. Examples of such data can be texts, image links, button status (enabled
ordisabled
). -
Presenter
. A classic presenter :) It receives events fromView
, gathers, processes and passes the data to the StateModel, whichView
will use
Thus, a one-way interaction is established between these three classes
View ⟶ Presenter ⟶ StateModel ⟶ View
For more details look at the quick start guide