Android MVP Pattern
Wiring up the Presenter
Autoplay
Up next
Previous
About
In this Lesson you will learn:
- Build a Presenter (the “P” in MVP) based off a contract (interface)
- How to implement the interface in an implementation
- How to to rely on the UserView (the view) and UserRepository (repository pattern) abstractions (interfaces) instead of their concrete implementations
- How to have the presenter control all UI logic such as obtaining state, setting state, and UI messaging.
- How to inject the presenter interface through Dagger into the View (the fragment).
- How to wire up the presenter and the view together with the userPresenter#setView call.
- How the presenter takes over all orchestration during execution of the application with a live walkthrough of the running application code.
Links
- Passive View
- Repository Pattern
Instructor
Links
Comments
Lessons in Android MVP Pattern
1. The MVP Pattern Explained
Pro
09:30
2. Building the View

Pro
09:02
3. Wiring up the Presenter

Pro
15:10
4. Writing FAST jUnit JVM Tests with Mockito

Pro
09:12
5. Code Coverage with Android Studio

Pro
10:04
6. Getting to 100% Code Coverage

Pro
12:02
7. Removing Lifecycle Events from the Presenter

Pro
10:31
8. Comprehensive Testing & the ViewNotFoundException

Pro
08:22

Something went wrong
Lesson added to playlist
Create new playlist
Name can't be empty