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
55
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
16
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
170
Как в 21 году стать Android разработчиком
johnmars
0
110
По чесноку о бизнесе или зачем нам нужен domain layer
johnmars
0
150
Google I/O 19 - Extended at Kolesa Group
johnmars
0
76
Улучшаем жизнь Android разработчика с Kotlin Coroutines и ViewModel
johnmars
1
190
Новый уровень модульной разработки - Mon Repo
johnmars
0
61
Other Decks in Programming
See All in Programming
Go言語とトイモデルで学ぶTransformerの気持ち / fukuokago23-transformer
monochromegane
0
110
AI 輔助遺留系統現代化的經驗分享
jame2408
1
1.2k
使用 Meilisearch 建立新聞搜尋工具
johnroyer
0
150
鹿野さんに聞く!『TypeScriptコードレシピ集』で磨く実践力
tonkotsuboy_com
4
1.1k
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
1
190
トークンをケチるな、設計しろ:GitHub Copilotを賢く使うコンテキスト戦略
ochtum
0
320
関数型プログラミングのメリットって何だろう?
wanko_it
0
180
アルゴリズムは何を圧縮しているのか ─ Haskell から育った「圧縮代数」というメンタルモデル
naoya
16
3.5k
Laravelで学ぶ Webアプリケーションチューニング入門/web_application_tuning_101
hanhan1978
4
900
技術記事、 専門家としてのプログラマ、 言語化
mizchi
14
7.5k
任せる範囲はこう広がった / How the Scope of AI Delegation Has Expanded
nrslib
1
260
音楽のための関数型プログラミング言語mimiumにおける多段階計算の活用
tomoyanonymous
1
340
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
sira's awesome portfolio website redesign presentation
elsirapls
0
300
Leo the Paperboy
mayatellez
8
1.9k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
190
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
56k
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.7k
Facilitating Awesome Meetings
lara
57
7k
Building Adaptive Systems
keathley
44
3.1k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
340
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.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