MVP
-
Model View Presenter (MVP)Modeling/DesignPattern 2020. 4. 10. 23:57
1. Overview 2. Description 2.1 Model In an application with good layered architecture, this model would only be the gateway to the domain layer or business logic. See it as the provider of the data we want to display in the view. Model’s responsibilities include using APIs, caching data, managing databases and so on. 2.2 View The View, usually implemented by an Activity, will contain a reference..