This course will be retired on June 1, 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
Start a free Courses trial
to watch this video
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 upRelated 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