Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
MVP Pattern
Search
Technophile Community Surat
January 21, 2018
Programming
0
160
MVP Pattern
This talk presents a Fundamental of MVP Pattern in Android Devlopement by Moinkhan Pathan
Technophile Community Surat
January 21, 2018
Tweet
Share
More Decks by Technophile Community Surat
See All by Technophile Community Surat
Customer Comes First - Lesson and Observation from an Entrepreneur's Journey
technophilesrt
1
100
Unit Test Cases with MVP
technophilesrt
0
110
Deep dive into RXJava
technophilesrt
0
210
ChatBot using Dialog Flow
technophilesrt
1
150
Getting Started with Room Persistence Library
technophilesrt
0
100
Dive into Material Design
technophilesrt
0
110
UI Design for Android
technophilesrt
0
190
Coding Standard
technophilesrt
0
180
Other Decks in Programming
See All in Programming
オープンソースソフトウェアへの解像度🔬
utam0k
17
3.1k
Six and a half ridiculous things to do with Quarkus
hollycummins
0
210
はじめてのDSPy - 言語モデルを『プロンプト』ではなく『プログラミング』するための仕組み
masahiro_nishimi
3
11k
CSC509 Lecture 06
javiergs
PRO
0
260
あなたとKaigi on Rails / Kaigi on Rails + You
shimoju
0
180
Cursorハンズオン実践!
eltociear
2
1.2k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
390
Foundation Modelsを実装日本語学習アプリを作ってみた!
hypebeans
1
120
3年ぶりにコードを書いた元CTOが Claude Codeと30分でMVPを作った話
maikokojima
0
620
「ちょっと古いから」って避けてた技術書、今だからこそ読もう
mottyzzz
11
7k
ALL CODE BASE ARE BELONG TO STUDY
uzulla
27
6.6k
XP, Testing and ninja testing ZOZ5
m_seki
3
790
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Raft: Consensus for Rubyists
vanstee
140
7.2k
Visualization
eitanlees
149
16k
Rails Girls Zürich Keynote
gr2m
95
14k
Gamification - CAS2011
davidbonilla
81
5.5k
Building a Scalable Design System with Sketch
lauravandoore
463
33k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
130k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
The Cult of Friendly URLs
andyhume
79
6.6k
Thoughts on Productivity
jonyablonski
70
4.9k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Transcript
None
Android core is it’s self MVC
Why not MVC - Everything connected to Everything. - Controller
becomes heavy by time - Not Modular - Not Scalable - Not Testable
What is MVP exactly? MVP (Model-View-Presenter) is an evolution
of MVC.
Separation of Concern Model & View never communicate with
each other. View layer is completely dumb. Each layer performs a specific task.
Modularity Packages are not made of components but for
screens. Every screen is in it’s own package containing Activity/Fragment (View), Presenter, Contract. Easier to modify or add new feature.
Scalability Model layer is given in data repository format.
Model layer is available as Plug & Play. Modification of layer will not impact another layer.
Testable 80% of code resides in Presenter & Model
layer. Easier to write test as everything is broken to modules. Model & Presenter are pure Java, they can be tested easily using only JUnit.
Cons. Increase the development time.
Codelab https://github.com/TechnophileCommunity/MeetupSessions.git