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
640
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
490
Other Decks in Programming
See All in Programming
ここ半年くらいでAIに作らせたR用ツール
eitsupi
0
400
AI Engineeringは、AIプロダクトだけのものか? 〜AIがソフトウェアを作る時代の新しい当たり前〜 / No AI in your product. AI Engineering in your development.
rkaga
5
510
初めての模倣学習とVLA
natsutan
0
200
Cloudflare is Agents
chimame
0
180
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
160
使いながら育てる Claude Code — 開発フローの1コマンド化 × 繰り返し指摘の自動仕組み化
shiki_kakaku
0
1.9k
Jindong: Introducing Declarative Haptics in Compose Multiplatform
l2hyunwoo
0
130
<title><a id="</title>君はこのHTMLをパースできるか"></a></title> #雑LT_study
pizzacat83
0
170
今さら聞けない .NET CLI
htkym
0
210
複数の Claude Code が"放置"されてしまう問題をCLI ダッシュボードを自作して解決した話
sumihiro3
1
720
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
12
19k
メールのエイリアス機能を履き違えない
isshinfunada
0
250
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
41
2.7k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.4k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.9k
Building AI with AI
inesmontani
PRO
1
1.2k
Unsuck your backbone
ammeep
672
58k
Are puppies a ranking factor?
jonoalderson
2
3.8k
Statistics for Hackers
jakevdp
799
230k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
64
56k
Music & Morning Musume
bryan
47
7.3k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
How to build a perfect <img>
jonoalderson
1
5.9k
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