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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Technophile Community Surat
January 21, 2018
Programming
0
170
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
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
20
6.7k
CSC307 Lecture 04
javiergs
PRO
0
660
Apache Iceberg V3 and migration to V3
tomtanaka
0
150
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
120
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
970
CSC307 Lecture 06
javiergs
PRO
0
680
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
450
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
170
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
640
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
3
300
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
150
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6k
Featured
See All Featured
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
210
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
The Pragmatic Product Professional
lauravandoore
37
7.1k
Technical Leadership for Architectural Decision Making
baasie
1
240
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
160
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
200
エンジニアに許された特別な時間の終わり
watany
106
230k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
The Cult of Friendly URLs
andyhume
79
6.8k
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