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
0
39
Android Dev Summit 2018
Review of Android Dev Summit 2018, which held on 7-8 November.
Zhanibek Marshal
November 30, 2018
Tweet
Share
More Decks by Zhanibek Marshal
See All by Zhanibek Marshal
Maestro - UI testing framework
johnmars
1
200
Design System Driven Android Development: A Guide to Automation Tools
johnmars
1
92
Jetpack Compose Navigation
johnmars
1
120
Как в 21 году стать Android разработчиком
johnmars
0
92
По чесноку о бизнесе или зачем нам нужен domain layer
johnmars
0
110
Google I/O 19 - Extended at Kolesa Group
johnmars
0
60
Улучшаем жизнь Android разработчика с Kotlin Coroutines и ViewModel
johnmars
1
160
Новый уровень модульной разработки - Mon Repo
johnmars
0
32
Почему Android разработчики переходят на Kotlin
johnmars
0
250
Other Decks in Programming
See All in Programming
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
2
460
数十万行のプロジェクトを Scala 2から3に完全移行した
xuwei_k
0
350
create_tableをしただけなのに〜囚われのuuid編〜
daisukeshinoku
0
290
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
310
fs2-io を試してたらバグを見つけて直した話
chencmd
0
250
Jakarta EE meets AI
ivargrimstad
0
280
Online-Dokumentation, die hilft: Strukturen, Prozesse, Tools
ahus1
0
100
技術的負債と向き合うカイゼン活動を1年続けて分かった "持続可能" なプロダクト開発
yuichiro_serita
0
150
これが俺の”自分戦略” プロセスを楽しんでいこう! - Developers CAREER Boost 2024
niftycorp
PRO
0
200
Webエンジニア主体のモバイルチームの 生産性を高く保つためにやったこと
igreenwood
0
340
Amazon S3 NYJavaSIG 2024-12-12
sullis
0
110
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
740
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
510
110k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Building Your Own Lightsaber
phodgson
103
6.1k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Mobile First: as difficult as doing things right
swwweet
222
9k
Docker and Python
trallard
42
3.2k
The World Runs on Bad Software
bkeepers
PRO
66
11k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
32
2.7k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
450
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
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