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
OkMVP
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Aaron He
March 08, 2016
Technology
0
68
OkMVP
An internal talk I gave at work on MVP.
Aaron He
March 08, 2016
Tweet
Share
More Decks by Aaron He
See All by Aaron He
Road to Modularization(DroidCon NYC 2019)
aaronhe
1
190
There's No Magic - How Kotlin can be your best friends @DevFest LA 2017
aaronhe
0
28
Google I/O '17 recap - GDG LA May 2017 Android@Tinder
aaronhe
0
93
RxJava for Android - GDG DevFest LA 2016
aaronhe
0
82
Memory Leak on Andriod - GDG LA July 2016
aaronhe
0
43
Auto Value and Its Extension GDG LA April
aaronhe
0
53
Other Decks in Technology
See All in Technology
A Casual Introduction to RISC-V
omasanori
0
160
僕、S3 シンプルって名前だけど全然シンプルじゃありません よろしくお願いします
yama3133
1
230
20260311 技術SWG活動報告(デジタルアイデンティティ人材育成推進WG Ph2 活動報告会)
oidfj
0
360
visionOS 開発向けの MCP / Skills をつくり続けることで XR の探究と学習を最大化
karad
1
450
NewSQL_ ストレージ分離と分散合意を用いたスケーラブルアーキテクチャ
hacomono
PRO
4
380
ソフトバンク流!プラットフォームエンジニアリング実現へのアプローチ
sbtechnight
1
180
楽しく学ぼう!ネットワーク入門
shotashiratori
4
3.4k
AWS CDK「読めるけど書けない」を脱却するファーストステップ
smt7174
3
160
Tebiki Engineering Team Deck
tebiki
0
27k
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
OSC仙台プレ勉強会 AlmaLinuxとは
koedoyoshida
0
190
頼れる Agentic AI を支える Datadog のオブザーバビリティ / Powering Reliable Agentic AI with Datadog Observability
aoto
PRO
0
200
Featured
See All Featured
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
89
How GitHub (no longer) Works
holman
316
150k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Evolving SEO for Evolving Search Engines
ryanjones
0
160
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
SEO for Brand Visibility & Recognition
aleyda
0
4.4k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
440
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
220
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
150
Transcript
OK MVP Aaron He
OK MAP WHAT’S THE PROBLEM? ▸ We want to deliver
features fast ▸ At same time we need it reliable, scalable and maintainable ▸ We also need a pattern that is consistent
OK MVP DECOUPLE BUSINESS LOGIC ▸ Activity/Fragment is difficult to
test ▸ Yes, Espresso/UI Automater but with sloppy design Integration tests are a scam: https://vimeo.com/80533536
OK MVP WHAT IS MVP? ▸ Model-View-Presenter https://github.com/rallat/EffectiveAndroid
OK MVP MODEL-VIEW-PRESENTER ▸ Start by defining interfaces. Pop Config
as an example. ▸ Model ▸ View ▸ Presenter ▸ The interface is the contract ▸ Can be mocked
OK MVP EASY TO INTEGRATE WITH LEGACY CODE ▸ Flexible
▸ Example: Confirm dialog when vehicle is deleted
OK MVP WHAT COULD GO WRONG ▸ The View ▸
Android fragmentation ▸ Interface is the contract ▸ But does the implementation actually do what you expect? Integration tests are a scam: https://vimeo.com/80533536
OK MVP OTHER CHOICES ▸ MVC ▸ MVVM ▸ U2020
OK MVP OK MVP ▸ An Ok architecture but simple,
scalable, maintainable A few Ok libraries: https://www.youtube.com/watch?v=WvyScM_S88c