Skip to content

Update README.md #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ This repository demonstrates the [Model View Presenter](http://en.wikipedia.org/

This repository contains a **chain of branches** that shows the logical progression of the Android MVP.

* ``git checkout 1-login-view`` - demonstates a simple View which is a LoginActivity
* ``git checkout 1-login-view`` - demonstrates a simple View which is a LoginActivity
* ``git checkout 2-synchronous-login-mvp`` - demonstrates Login MVP implementation with a synchronous Model (or interactor).
* ``git checkout 3-async-login-mvp`` - demonstrates Login MVP with an asynchronous Model which does not change any code in the LoginActivity
* ``git checkout 4-list-activity-view`` - demonstates a more complex View (RepoListActivity) and an Asynchronous Networked Model which shows a users Github repositories sorted by stars.
* ``git checkout 4-list-activity-view`` - demonstrates a more complex View (RepoListActivity) and an Asynchronous Networked Model which shows a users Github repositories sorted by stars.
* ``git checkout 5-list-fragment`` - substitutes the RepoListActivity for a Fragment without changing any code in the Model.
* The ``master`` branch contains the completed project.

Expand All @@ -28,7 +28,7 @@ This repository contains a **chain of branches** that shows the logical progress

* The **Model** is an interface defining the data to be displayed or otherwise acted upon in the user interface.
* The **View** is a passive interface that displays data (the Model) and routes user commands (events) to the presenter to act upon that data.
* The **Presenter** acts upon the model and the view. It retrieves data from repositories (the model), and formats it for display in the view.
* The **Presenter** acts upon the model and the view. It retrieves data from repositories (the model) and formats it for display in the view.


## Benefits
Expand Down