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 Dev Summit 2018
Search
Zhanibek Marshal
November 30, 2018
Programming
60
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Android Dev Summit 2018
Review of Android Dev Summit 2018, which held on 7-8 November.
Zhanibek Marshal
November 30, 2018
More Decks by Zhanibek Marshal
See All by Zhanibek Marshal
Maestro: Reliable E2E testing made easy
johnmars
0
30
Maestro - UI testing framework
johnmars
1
370
Design System Driven Android Development: A Guide to Automation Tools
johnmars
1
170
Jetpack Compose Navigation
johnmars
1
180
Как в 21 году стать Android разработчиком
johnmars
0
110
По чесноку о бизнесе или зачем нам нужен domain layer
johnmars
0
160
Google I/O 19 - Extended at Kolesa Group
johnmars
0
84
Улучшаем жизнь Android разработчика с Kotlin Coroutines и ViewModel
johnmars
1
190
Новый уровень модульной разработки - Mon Repo
johnmars
0
67
Other Decks in Programming
See All in Programming
FastAPI の並行処理モデルを完全に理解する
hoto17296
9
3.8k
PHPプロジェクトの結合バランスを可視化する #php_night
kajitack
0
220
AIの中の人になってみる
htkym
0
160
週末にAI-DLCを本気で回したら$1,600溶けた
hbashimizu
0
130
이 함수, 실패하면 어떻게 되나요? null부터 Rich Errors까지, Kotlin 에러 처리 15년
haeti2
0
130
不幸な GC
chencmd
0
880
GraphRAGのKnowledge Graphを 直接!見る/View-GraphRAG's-KnowledgeGraph-directly!
tyumugi1113
0
230
RSSとCodexを使ってX投稿自動化してみた
ochtum
0
100
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.5k
What We Talk About When We Talk About XP
m_seki
2
360
MySQLとPostgreSQLって何が違うの?
akagami
PRO
0
160
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
0
360
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
How to Talk to Developers About Accessibility
jct
2
540
Building an army of robots
kneath
306
46k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
580
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.8k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
How to Think Like a Performance Engineer
csswizardry
28
2.8k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
Transcript
Android Dev Summit Janibek Marshal 7-8 November 2018
Istanbul → New York → San Francisco
42 hours of flight. 8 sessions + 1 mini talk.
Over 1000 Android Developers.
Keynote History and Future of Android Development
Celebrating 10 years of Android
Get your app ready for foldable phones
To Machine Learning First Shifting from Mobile First
Smartphones are getting Smarter with ML
Android is Everywhere
Safety and Wellbeing
Android Developer Experience Architect Code Reach
Security
None
80% of top 1,000 apps use new Android Jetpack libraries
*we also
Android Slices
Jetpack: Navigation
Build Speed What’s affecting build speed overall: • Expanding code
bases • Custom plug-ins • Annotation processors • New languages • Number of modules
USB 3 enhances deployment Especially on Android P
Chromebook With Android Studio
Android App Bundle • Reducing size of application • Have
to store release key on Google Play • Enables new cool features Kolesa 45.7%
None
None
Dynamic Feature Module • Install and Uninstall features on demand
• Defer install in the background BASE Kaspi Shop Retush etc
Application updates
Application updates
Instant App Is deprecated Replaced by Google Play Instant
Google Play Instant • Limit raised to 10MB • URL
is optional • Supported automatically with Android App Bundle
Responsible for: 1. Installing modules on demand 2. Managing modules
Single Activity
What’s Activity? How the Android Framework starts your UI and
controls its window positioning
Sharing data within an Activity
Make navigation great again What challenges appear when we have
multiple destinations? Update global UI as the current destination changes Navigating between destinations
None
Then why Fragment Once we enter to activity, system don't
care how you handle flow Fragment is easier to create graph
Navigation Testing Rule #1 Don’t test at destination level Extract
business logic out of your destination Write tests against a ViewModel Fragment Scenario
Don’t contort your App architecture Do what’s right for your
app
Lint Use it on Android Studio and with gradle Lint
option → base line = shows only new warnings Very useful tool to check your code
Android X testing ActivityScenario FragmentScenario getTargetContext - under testing getContext
- instrumentation WTF?! Merged as getApplicationContext()
User flow Reactivating user is important as users are updating
their phones every 2 years Use "smart Lock for password" And “Autofill”
Fun with LiveData
Map: X → Y SwitchMap: X → LiveData<Y> Transformation Mediator
LiveData - Add Source - Compute Result
You can group folders in cache I order to free
up together Use content uri instead of file uri - as file requires permission Discover with MediaStore class Storing Why it’s really hard to get simple image from gallery and camera
No sessions about Flutter
Nothing new, just reviewing Android Suspenders (Coroutines)
Sessions about View and Style Thanks to Chiu-Ki Chan
@chiuki
@chiuki
@chiuki
Android development in Google
Android development at Google 100+ Android App ~2B Lines of
code 20K Builds per day 27M Test runs per day
Developer workflow Changes get reviewed by peers Development at head
(Mono Repo) Testing is a requirement Large CI system 1 2 3 4
None
Project Nitrogen Instrumentation test на Android framework очень сложные Design
for any build system Build cross platform Build with extensibility in mind Single configuration
Nightmare to maintain
Unified solution
Running tests at scale with Nitrogen
None
None
Fireside chat And many more sessions