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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Android VIP
January 12, 2019
Programming
630
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
370
Abangkis - INTO KOTLIN A PRAGMATIC WAY
androidvip
3
470
Gilang - Playing Unit Test with Spek
androidvip
2
480
Other Decks in Programming
See All in Programming
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
1
340
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
630
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
180
エンジニアと一緒にテストコードの設計と実装を改善した話
mototakatsu
0
250
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
230
Go1.27で導入されるジェネリクスメソッドでできること
mackee
0
240
Webフレームワークの ベンチマークについて
yusukebe
0
190
Vite+ Unified Toolchain for the Web
naokihaba
0
410
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
250
その問い、本当に正しいですか?AI時代のエンジニアに必要な哲学と認知科学 / ai-philosophy-cognitive-science
minodriven
14
6.6k
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
320
エンジニア向け会社紹介/Findy Company Profile
findyinc
6
360k
Featured
See All Featured
[SF Ruby Conf 2025] Rails X
palkan
2
1.1k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
Building Applications with DynamoDB
mza
96
7.1k
Ruling the World: When Life Gets Gamed
codingconduct
0
270
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.7k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
330
Building AI with AI
inesmontani
PRO
1
1.1k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
220
Designing for Timeless Needs
cassininazir
1
270
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
880
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