From 5b73a44f711c8314adacc136e37f52c837264c3a Mon Sep 17 00:00:00 2001 From: Andrzej Chmielewski Date: Thu, 23 Jun 2016 15:36:40 +0200 Subject: [PATCH] Update README.md --- README.md | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/README.md b/README.md index 192f5be..5d835bc 100644 --- a/README.md +++ b/README.md @@ -13,23 +13,7 @@ DroidMVP is a small Android library to help you incorporate the [**MVP pattern**

mvp diagram

- -**Pasive View** - -> A screen and components with all application specific behavior extracted into a controller so that the widgets have their state controlled entirely by controller. - **Martin Fowler** - --- -**Presentation Model** - -> Represent the state and behavior of the presentation independently of the GUI controls used in the interface - **Martin Fowler** - --- - -#####Model and Presenter -In our case a controller will be our presenter, which stores the view state within the Presentation Model. All the state manipulation happens within the Model class itself, but it is the Presenter who initiates those modifications. - -#####View -Our passive view is the activity or fragment, which will be treated as a widgets' (like TextView, ImageView etc.) container with the ability to present different states driven by the presenter. All user interaction should be routed to the presenter. +A short explanation of PassiveView, PresentationModel and how to use it with DroidMVP can be found [in this article](https://medium.com/@andrzejchm/presentation-model-and-passive-view-in-mvp-the-android-way-fdba56a35b1e) ##Setup