Skip to content

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 is Activity, Fragment, or a UI element.
  • StateModel. A class that contains all the data the View requires displaying it on the screen. Examples of such data can be texts, image links, button status (enabled or disabled).
  • Presenter. A classic presenter :) It receives events from View, gathers, processes and passes the data to the StateModel, which View 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

Clone this wiki locally