Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
After I/O Kabul Android summary
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Hadi Tok
June 20, 2019
Technology
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
After I/O Kabul Android summary
Hadi Tok
June 20, 2019
Transcript
26 slides
After I/O Kabul Kotlin First/Android Q 1
Who Am I? • Hadi Tok • Lead Android Developer
@CitizenMe • Google Developers Expert on Android • Organizer at GDG Istanbul • https://haditok.com/ 2
Google I/O 3 • Organized by Google At Mountain View
CA • Gathers developers from all around the world • New technologies developed by Google announced
Google I/O 2019 What’s new on Android 4 • Kotlin
First • Coroutines first • Jetpack Compose • Dark Mode • Gesture Navigation • Security and Privacy • CameraX • ViewBindings
Kotlin First 5 • Kotlin became official language 2017 along
with Java and C++ • KTX Libraries • IDE Support • Documentation • Samples
Kotlin First 6 • Kotlin became primary language 2019 over
Java and C++ • Feature support • IDE Support • More Documentation • More Samples
How to get started with Kotlin 7 • http://try.kotlinlang.org •
https://kotlinlang.org/docs/reference/ • https://codelabs.developers.google.com/android-ko tlin-fundamentals/
Corotutines First 8 • What are Coroutines? • Non-blocking •
Asynchronous • Straightforward as plain synchronous code.
Corotutines First 9
Jetpack Coroutines support 10 • LiveData • ViewModel • WorkManager
• Room
Jetpack Compose 11 • Jetpack Compose is an unbundled toolkit
designed to simplify UI development. It combines a reactive programming model with the conciseness and ease of use of the Kotlin programming language.
Jetpack Compose 12 • Concise and Idiomatic Kotlin • Declarative
• Compatible • Enable Beautiful Apps • Accelerate Development
Jetpack Compose 13
None
Dark Mode 15 • Can reduce power usage by a
significant amount • Improves visibility for users with low vision and sensitive to bright light. • Easier to use a device in a low-light environment.
Dark Mode 16 • Can reduce power usage by a
significant amount • Improves visibility for users with low vision and sensitive to bright light. • Easier to use a device in a low-light environment.
Dark Mode 17 • <style name="AppTheme" parent="Theme.AppCompat.DayNight"> • <style name="AppTheme"
parent="Theme.MaterialComponents.DayNight">
Dark Mode 18 • Light - MODE_NIGHT_NO • Dark -
MODE_NIGHT_YES • Set by Battery Saver - MODE_NIGHT_AUTO_BATTERY • System default - MODE_NIGHT_FOLLOW_SYSTEM
Dark Mode Force Dark 19 • Easy way to implement
dark mode • Intellegently converts theme to dark on Android Q • android:forceDarkAllowed="true"
Gesture Navigation 20 • Unifies gestural navigation on Android Q
• Swipe up from bottom navigates to home • Swipe left and right from edges navigates back
21
Security&Privacy 22 • Jetpack Security Library • Location permission changes
on Q • Apps won't be able to turn on/off the WiFi on Q • SYSTEM_ALERT_WINDOW permission is deprecated on Q, Use Chat bubbles instead.
CameraX 23 • Unifies Camera library usage • Features like
Portrait, HDR, Night, and Beauty • Able to take add ons • Works on 90% of devices
CameraX 24 • Unifies Camera library usage • Features like
Portrait, HDR, Night, and Beauty • Able to take add ons • Works on 90% of devices
View Bindings 25 • Similar to DataBindings • No annotation
processing so faster at compile
Thank you Questions? 26
More Decks by Hadi Tok
See All by Hadi Tok
Android Async Programming
oshamahue
0
140
Introduction to Functional Programing in Kotlin and Arrow
oshamahue
0
210
Kotlin for Java developers.
oshamahue
0
130
Kotlin Java interop and Kotlin Migration
oshamahue
0
96
Finding the View
oshamahue
0
170
Mocking Kotlin with MockK
oshamahue
0
150
After I/O Istanbul Jetpack CameraX
oshamahue
0
84
Mocking Kotlin with MockK
oshamahue
0
230
RxJava vs Coroutines
oshamahue
1
680
Other Decks in Technology
See All in Technology
閉域網でのAPI公開の選択肢全部比較!
takano0131
5
690
飯から始まるデータエンジニア
sansantech
PRO
0
130
kubellの最新データ分析環境
kubell_hr
2
240
SBOM 生成ツールで 2026 Minimum Elements はどこまで満たせるのか
gokken
0
130
gradle-best-practices 使ってみた
mikanichinose
0
220
信頼性を犠牲にせず、PR マージからデプロイまで人の介入を完全にゼロにするまでの道のり
knwoop
4
2k
[関西Kaggler会 20261113] 続・コミュニティコンペのススメ
nejumi
0
190
AI-Ready なデータ基盤ってなに? & 新卒未経験が、いま考えていること
imuta
0
1.1k
Platform Engineering をベースとした Agentic Software Factory の実践
110y
2
790
SORACOM × AWS IoT Core でSREする
butadora
0
120
Test Impact Analysis を武器に立ち向かう、AI 時代のテスト増加に対するヌーラボのアプローチ / getting-started-datadog-test-impact-analysis
k6s4i53rx
2
310
目を覚ませ!僕らの認証情報が何者かに侵略されてるぞ
tkito
2
480
Featured
See All Featured
Embracing the Ebb and Flow
colly
88
5.2k
A Tale of Four Properties
chriscoyier
163
24k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
850
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Making Projects Easy
brettharned
120
6.9k
Crafting Experiences
bethany
1
450
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
380
Site-Speed That Sticks
csswizardry
13
1.6k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
We Have a Design System, Now What?
morganepeng
55
8.4k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
520