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
Android @ Scale
Search
rallat
April 13, 2018
Technology
0
24k
Android @ Scale
5 minute talk at Shibuya APK
rallat
April 13, 2018
Tweet
Share
More Decks by rallat
See All by rallat
Effective java 2 Effective Kotlin short version
rallat
0
110
Effective Java to Effective Kotlin
rallat
8
1.3k
Android at Scale in Mercari
rallat
0
140
App development pragmatic best practices
rallat
0
180
Droidkaigi Smoke and Mirrors
rallat
0
110
Smoke and mirrors
rallat
2
640
AndroidDevLikeAProDroidconSF
rallat
17
4k
Android development like a pro
rallat
77
14k
Building First Class Android Sdks
rallat
7
730
Other Decks in Technology
See All in Technology
AI時代のSaaSとETL
shoe116
1
180
Agent ServerはWeb Serverではない。ADKで考えるAgentOps
akiratameto
0
120
Tebiki Engineering Team Deck
tebiki
0
27k
Claude Code 2026年 最新アップデート
oikon48
13
11k
visionOS 開発向けの MCP / Skills をつくり続けることで XR の探究と学習を最大化
karad
1
580
バクラク最古参プロダクトで重ねた技術投資を振り返る
ypresto
0
170
身体を持ったパーソナルAIエージェントの 可能性を探る開発
yokomachi
1
130
Keycloak を使った SSO で CockroachDB にログインする / CockroachDB SSO with Keycloak
kota2and3kan
0
160
OCHaCafe S11 #2 コンテナ時代の次の一手:Wasm 最前線
oracle4engineer
PRO
2
150
Scrumは歪む — 組織設計の原理原則
dashi
0
200
CyberAgentの生成AI戦略 〜変わるものと変わらないもの〜
katayan
0
260
GCASアップデート(202601-202603)
techniczna
0
210
Featured
See All Featured
Designing for Timeless Needs
cassininazir
0
170
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
160
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
It's Worth the Effort
3n
188
29k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
86
What does AI have to do with Human Rights?
axbom
PRO
1
2k
New Earth Scene 8
popppiees
1
1.7k
Automating Front-end Workflow
addyosmani
1370
200k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
ラッコキーワード サービス紹介資料
rakko
1
2.7M
Information Architects: The Missing Link in Design Systems
soysaucechin
0
830
Believing is Seeing
oripsolob
1
86
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