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
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
93
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
More Decks by Hadi Tok
See All by Hadi Tok
Android Async Programming
oshamahue
0
120
Introduction to Functional Programing in Kotlin and Arrow
oshamahue
0
200
Kotlin for Java developers.
oshamahue
0
120
Kotlin Java interop and Kotlin Migration
oshamahue
0
76
Finding the View
oshamahue
0
140
Mocking Kotlin with MockK
oshamahue
0
140
After I/O Istanbul Jetpack CameraX
oshamahue
0
76
Mocking Kotlin with MockK
oshamahue
0
220
RxJava vs Coroutines
oshamahue
1
660
Other Decks in Technology
See All in Technology
AIで政治は変わるのか? — 中高生と考えたAI時代の民主主義(東海高校サタデープログラム)
eitarosuda
0
400
どうして今サーバーサイドKotlinを選択したのか
nealle
0
210
勉強会企画をアプリで構造化してみた 〜そこで見えた、AIとの付き合い方〜 / I've structured a study group plan using an app.
pauli
0
320
キャリアの中で本を作る / Making a Book During Your Career
ak1210
0
100
地域 SRE コミュニティ最前線 / SRE NEXT 2026 Discussion Night Track C
muziyoshiz
0
110
初めてのDatabricks勉強会
taka_aki
2
240
証券システムを10年Scalaで作り続けるということ - 関数型まつり2026
krrrr38
3
700
Foxgloveについて 実際にExtensionを開発して公開するまでの話 / About Foxglove: The Story of Developing and Releasing an Extension
ry0_ka
0
170
認証認可だけじゃない! ID管理の構成要素と ライフサイクルを意識しよう
ritou
1
510
Text-to-SQLをAgentCoreで実現し、生成されるSQLの精度を定量的に評価する
yakumo
2
630
「ちゃんとやっている」は独りよがりだった ― 不安に寄り添うインシデント対応へ / Towards incident response that addresses anxieties
chmikata
1
2.5k
人を動かすのは時間ではなく、納得感 〜新任EMが入社3ヶ月、組織を2回変えた話〜
kakehashi
PRO
2
120
Featured
See All Featured
KATA
mclloyd
PRO
35
15k
Google's AI Overviews - The New Search
badams
0
1.1k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
180
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
190
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
380
The Pragmatic Product Professional
lauravandoore
37
7.4k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.7k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
200
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
490
Transcript
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