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
Henry & Meyta - Behind The Scene of Tokopedia A...
Search
Android VIP
January 12, 2019
Programming
620
2
Share
Henry & Meyta - Behind The Scene of Tokopedia Android Homepage
Android VIP
January 12, 2019
More Decks by Android VIP
See All by Android VIP
Ghiyats Hanif - Android Templates
androidvip
1
330
Javent - Coroutines 101
androidvip
1
360
Abangkis - INTO KOTLIN A PRAGMATIC WAY
androidvip
3
460
Gilang - Playing Unit Test with Spek
androidvip
2
470
Other Decks in Programming
See All in Programming
OSもどきOS
arkw
0
160
LLM Plugin for Node-REDの利用方法と開発について
404background
0
110
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
300
実践ハーネスエンジニアリング:ステアリングループを実例から読み解く / Practical Harness Engineering: Understanding Steering Loops Through Real-World Examples
nrslib
6
6.3k
AI時代だからこそ「Bloc」を採用する価値があるのかもしれない
takuroabe
0
240
tsserverとは何だったのか、これからどうなるのか
nowaki28
1
400
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
1k
Moments When Things Go Wrong
aurimas
3
120
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
220
AIチームを指揮するOSS「TAKT」活用術 / How to Use “TAKT,” an OSS Tool for Orchestrating AI Teams
nrslib
5
690
1人1案件のプロダクトエンジニア時代に、"プロセス監督"としてチャレンジしたこと
non0113
0
330
色即是空、空即是色、データサイエンス
kamoneggi
1
200
Featured
See All Featured
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
170
Git: the NoSQL Database
bkeepers
PRO
432
67k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
820
The Limits of Empathy - UXLibs8
cassininazir
1
340
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
240
Why Our Code Smells
bkeepers
PRO
340
58k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
340
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
150
Testing 201, or: Great Expectations
jmmastey
46
8.2k
Technical Leadership for Architectural Decision Making
baasie
3
380
Transcript
Behind The Scene of Tokopedia Android Homepage Henry Priyono &
Meyta Jennis T
Hello! I am Henry Priyono I work as Android Software
Engineer at Tokopedia You can email me at
[email protected]
2
Many many types.. Change frequently Place your screenshot here 3
Homepage at a glance
“Project Mgr : Could you move that flash sale widget
to bottom? Android Dev : Alright.. (fix & release app) *Few days later..* Project Mgr : After all the revenue drops, could you move that back to top? Android Dev : !@#@#$#$%^ (table flip) 4
“Then come the last earth-quaking question from business dev team:
Could you make us able to change the widget position, WITHOUT app release? 5
Is it React Native? Or Flutter? Or Webview? 6 No
it’s NATIVE!!
Android RecyclerView with multi- types adapter Building Blocks Backend Provides
list of items; each has item type & item content 7
Android Code Sneak Peek Lots of Types.. But simply separate
into one class 8
API Response Sneak Peek List of Items.. Each with Type
and Content 9
10
11
12
Big question “Is it practical? We still need to handle
new component in android code EVERYTIME new component is introduced” 13
So Dynamic.. Workaround? 14
1. Six Grid Image Multi Purpose :) 15
2. Dynamic Title Easily join with next component :) 16
3. Templated Component Dynamically place templated component from other team
wherever you want :) 17
To summarize.. 1. Six Grid Image 2. Dynamic Title 3.
Templated Component 18
Thank You! 19
Next? Global Navigation 20
Hello! I am Meyta I also work as Android Software
Engineer at Tokopedia You can email me at
[email protected]
21
Ease of navigation Place your screenshot here 22 Global Nav
23 ...from time to time
Learning the legacy codes 24
How? • Try to understand every functions • Write all
functions, because we don’t want to miss a single thing • Ask if something is poorly understood 25
Deal with Multi-Module
27 Activity Home Feed
28 Navigation Searchbar Feed Home Cart
Bye Drawer And welcome Bottom Navigation...
How it works? 30 Activity Badge Listener Home Fragment Feed
Fragment Inbox Fragment Cart Fragment Account Fragment notify create show Add to managers isAdded?
Conclusion • We want to give you the best experience
when using the Tokopedia app by creating native Android. • You can do it if you believe you can. If you believe, you can achieve 31
Thank You! We are hiring! https://www.tokopedia.com/careers/ 32