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
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
360
Abangkis - INTO KOTLIN A PRAGMATIC WAY
androidvip
3
460
Gilang - Playing Unit Test with Spek
androidvip
2
480
Other Decks in Programming
See All in Programming
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
2
660
New "Type" system on PicoRuby
pocke
1
830
Inside Stream API
skrb
1
690
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
21
6.5k
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
220
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.6k
技術記事、 専門家としてのプログラマ、 言語化
mizchi
11
4.4k
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
390
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
320
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
370
ふつうのFeature Flag実践入門
irof
7
3.7k
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
5
720
Featured
See All Featured
Game over? The fight for quality and originality in the time of robots
wayneb77
1
200
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
130
Reality Check: Gamification 10 Years Later
codingconduct
0
2.2k
It's Worth the Effort
3n
188
29k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
200
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Testing 201, or: Great Expectations
jmmastey
46
8.2k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
Rails Girls Zürich Keynote
gr2m
96
14k
We Have a Design System, Now What?
morganepeng
55
8.2k
Are puppies a ranking factor?
jonoalderson
1
3.5k
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