This course will be retired on July 14, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- What is Model-View-Presenter (MVP)? 4:45
- Why Do We Use MVP? 3:28
- Review: Model-View-Presenter 8 questions
- Defining the Data Model 2:53
- Implementing the Data Model 6:26
- Creating a Data Model 4 objectives
- Adding Story Resources 2:57
- Creating the Story 3:54
- Adding Custom Constructors 4:05
- Adding a Custom Constructor 2 objectives

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Common solutions for programming problems are called patterns, and in this video we will learn about the model-view-presenter pattern, or MVP for short. Android is designed to make heavy use of the MVP pattern, and knowing what it is will give us a better understanding of how our apps work and how they should be architected.
Related Links
- Model-View-Presenter Pattern (Wikipedia)
- Introduction to Model View Presenter on Android
- What are MVP and MVC and what is the difference?
- Model-View-Presenter: Android guidelines
The MVP pattern is essentially this:
- Model: What to display
- View: How it’s displayed
- Presenter: Formatting the model for display and handling events like user input
GitHub Repo
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
pratyush raj
7,097 Points1 Answer
-
PLUS
yadin michaeli
Courses Plus Student 5,423 Points1 Answer
-
PLUS
hassan rawashdeh
Courses Plus Student 925 Points2 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up