#Java #MVP #ModelViewPresenter
In this video I will refactor a simple application using the MVP (Model View Presenter) with repository pattern. In this pattern communication happens between view-presenter and presenter-model behing an abstraction layer, i.e: interface. As a result view and model does not have knowledge of each other.
I will use respository pattern with a strategy that picks different data source based on certain conditions. In this pattern the client does not need to know the source of the data, the only truth is that the data will arrive and will be got.
▬ Related ▬▬▬▬▬▬▬▬▬▬
🎥 Previous Video: MVC | Model View Controller | Explained Step-by-step Code With Diagram In Android Studio
→ • MVC | Model View Controller | Explained St...
🎥 All videos: Android Java Tutorials
→ https://youtube.com/playlist?list=PLP...
Next Video: Camera X in Java | Image Capture, Video Capture, Image Analysis → • Camera X in Java | Image Capture, Video Ca...
▬ Contents ▬▬▬▬▬▬▬▬▬▬
0:00 - Intro
0:30 - Non-MVP App
0:48 - MVP Diagram
1:04 - View
2:16 - Presenter
3:42 - Model (Repository Pattern)
5:55 - Multiple Data Source Implementation
7:42 - Demo
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Buy Me A Coffee: https://www.buymeacoffee.com/codingreel
▬ Have a video request ? ▬▬▬▬▬▬▬▬▬▬
Any thoughts or suggestions are greatly appreciated. Also, you can request a video upon automation.
Leave them in the comments below.
▬ More Videos On Automation ▬▬▬▬▬▬▬▬▬▬
Make sure to hit like and subscribe button to learn more
SUBSCRIBE for more tutorials on android application development and then automating the apps for CI/CD
https://bit.ly/2XmkEig
• MVP | Model View Presenter with Repository...