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
Aaron He
March 08, 2016
Technology
72
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
OkMVP
An internal talk I gave at work on MVP.
Aaron He
March 08, 2016
More Decks by Aaron He
See All by Aaron He
Road to Modularization(DroidCon NYC 2019)
aaronhe
1
200
There's No Magic - How Kotlin can be your best friends @DevFest LA 2017
aaronhe
0
34
Google I/O '17 recap - GDG LA May 2017 Android@Tinder
aaronhe
0
98
RxJava for Android - GDG DevFest LA 2016
aaronhe
0
85
Memory Leak on Andriod - GDG LA July 2016
aaronhe
0
45
Auto Value and Its Extension GDG LA April
aaronhe
0
57
Other Decks in Technology
See All in Technology
背中から、背中へ /paying forward to community
naitosatoshi
0
200
きのこカンファレンス2026_肩書きを外したとき私は誰か
yamasatimi
1
120
AI時代における最適なQA組織の作り方
ymty
3
330
AIDLC_ヤフーショッピングの取り組み
lycorptech_jp
PRO
0
390
知見・人・API・DB・予算 ─ ナイナイ尽くしだった人事データ整備 with dbt、5年間の学び
ken6377
1
120
「ビジネスがわかるエンジニア」とは何か?
ryooob
0
440
Kotlin 開発のツラミを爆破した話! / Explode the difficulty of Kotlin dev!
eller86
0
130
スタートアップにおけるアジャイルの実践について #shibuyagile
murabayashi
3
1.8k
「勝手に広まる」人気 AI エージェントを爆速で作ろう!(AWS Summit Japan 2026講演資料)
minorun365
PRO
10
2.8k
BPaaSで進むAIオペレーションの現在地 AI実装が効く領域とスケーラビリティの選定と実装
kentarofujii
0
250
ご挨拶「10周年を迎える共創ラボのこれまでとこれから」
iotcomjpadmin
0
170
AIペネトレーションテスト・ セキュリティ検証「AgenticSec」紹介資料
laysakura
2
7.9k
Featured
See All Featured
Navigating Team Friction
lara
192
16k
Fireside Chat
paigeccino
42
4k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Claude Code のすすめ
schroneko
67
230k
Writing Fast Ruby
sferik
630
63k
Technical Leadership for Architectural Decision Making
baasie
3
430
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Balancing Empowerment & Direction
lara
6
1.2k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
67
56k
Everyday Curiosity
cassininazir
0
250
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
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