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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.3k
Data-Centric Kaggle
isax1015
2
760
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
400
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.8k
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
680
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
110
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
1.1k
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
200
AI時代の認知負荷との向き合い方
optfit
0
150
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
2.4k
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
300
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
66
36k
Faster Mobile Websites
deanohume
310
31k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
440
Agile that works and the tools we love
rasmusluckow
331
21k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Designing for humans not robots
tammielis
254
26k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
250
A Modern Web Designer's Workflow
chriscoyier
698
190k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2k
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