Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Android @ Scale
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
rallat
April 13, 2018
Technology
24k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Android @ Scale
5 minute talk at Shibuya APK
rallat
April 13, 2018
More Decks by rallat
See All by rallat
Effective java 2 Effective Kotlin short version
rallat
0
130
Effective Java to Effective Kotlin
rallat
8
1.4k
Android at Scale in Mercari
rallat
0
160
App development pragmatic best practices
rallat
0
200
Droidkaigi Smoke and Mirrors
rallat
0
140
Smoke and mirrors
rallat
2
680
AndroidDevLikeAProDroidconSF
rallat
17
4k
Android development like a pro
rallat
77
14k
Building First Class Android Sdks
rallat
7
750
Other Decks in Technology
See All in Technology
雪かき部 #7 もう怖くない!SELECT文!
foursue
0
280
[2026 Oracle Technical Deep Dive] Apache Iceberg × Oracle AI Database -Oracle Autonomous AI Lakehouseが実現するAI時代のデータ基盤- (2026年9月17日開催)
oracle4engineer
PRO
0
110
プロダクト価値を、 チームが使える判断軸に変える
vivion
0
120
データ品質を壊しながらSnowflakeのAIに分析させてみた
kawanago
0
520
20260930_Gemma4_Hands-on
tsho
0
230
生成AIと進める探索的データ分析(2026.10.03 第122回Tokyo.R勉強会)
tatamiya
2
1.4k
Incremental HTTP
kazuho
5
2.1k
『GOエコノミー 』(相乗りサービス) におけるスペック駆動開発
mot_techtalk
1
310
おそらく日本で唯一のDevRelインターン生として
husengs7
0
170
AI駆動開発、viviONの1年 ── うまくいったこと・いかなかったこと
vivion
0
260
More Freedom on the Same Shared GPU Cluster: A Small Team’s Experience with vCluster
nttcom
0
140
Databricksメトリクスビューはじめてのもくもく会
taka_aki
0
200
Featured
See All Featured
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Leo the Paperboy
mayatellez
10
2.3k
Technical Leadership for Architectural Decision Making
baasie
3
590
Design in an AI World
tapps
1
350
So, you think you're a good person
axbom
PRO
2
2.2k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
610
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
970
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.1k
Six Lessons from altMBA
skipperchong
29
4.5k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Transcript
Android @ Scale
Israel Ferrer Camacho @rallat
MV
MV WW
WW = “whatever works”
Define Principles
Apply Principles
with Consistency Apply Principles
Principles must evolve
Principles?
Dependency Injection
Dependency Injection
Dependency Injection Allows to declare dependencies of an object upfront.
Dependency Injection Allows to declare dependencies of an object upfront.
This helps to easily mock dependencies and unit test the object
Single Responsibility
None
View layer
UI Manipulation
UI Manipulation
Logic layer UI Manipulation
Screen Behavior UI Manipulation
Screen Behavior UI Manipulation
Screen Behavior UI Manipulation Data layer
Screen Behavior UI Manipulation Repository Interface Network DB Memory cache
Complex screens
Complex screens Multiple logic layer components each with a single
responsibility.
Complex screens Multiple logic layer components each with a single
responsibility. Logic layer components can subscribe to events tied to their logic (E.g. Rx, EventBus)
Shared logic
Shared logic If the view is shared you can create
a 3 layered complete feature component.
Shared logic If the view is shared you can create
a 3 layered complete feature component. If the view is not share then add another layer…
Data layer View layer Logic layer
Use cases Screen behavior View layer Data layer
Screen behavior View layer Data layer
Screen behavior View layer Data layer Sort Items
Screen behavior View layer Data layer Sort Items Buy Item
Screen behavior View layer Data layer Sort Items Buy Item
Like Item
Screen behavior View layer Data layer Sort Items Buy Item
Like Item Comment Item
Goal
Goal Each layer has a reason to exist.
Goal Each layer has a reason to exist. Consistency in
codebase
Goal Each layer has a reason to exist. Consistency in
codebase Testable logic layer
Goal Each layer has a reason to exist. Consistency in
codebase Testable logic layer Reusable of logic layer
Do Not Over-Engineer
Do Not Over-Engineer Libraries, patterns are tools not goals
Do Not Over-Engineer Libraries, patterns are tools not goals The
goal is to ship and maintain speed of development
Questions? @rallat