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
Hadi Tok
June 20, 2019
Technology
0
46
After I/O Kabul Android summary
Hadi Tok
June 20, 2019
Tweet
Share
More Decks by Hadi Tok
See All by Hadi Tok
Android Async Programming
oshamahue
0
66
Introduction to Functional Programing in Kotlin and Arrow
oshamahue
0
150
Kotlin for Java developers.
oshamahue
0
74
Kotlin Java interop and Kotlin Migration
oshamahue
0
30
Finding the View
oshamahue
0
110
Mocking Kotlin with MockK
oshamahue
0
81
After I/O Istanbul Jetpack CameraX
oshamahue
0
34
Mocking Kotlin with MockK
oshamahue
0
180
RxJava vs Coroutines
oshamahue
1
590
Other Decks in Technology
See All in Technology
深層学習と3Dキャプチャ・3Dモデル生成(土木学会応用力学委員会 応用数理・AIセミナー)
pfn
PRO
0
190
ネットワーク可視化の世界
likr
7
5.6k
[Oracle TechNight#85] Oracle Autonomous Databaseを使ったAI活用入門
oracle4engineer
PRO
1
200
エンジニアリングマネージャー視点での、自律的なスケーリングを実現するFASTという選択肢 / RSGT2025
yoshikiiida
3
1.3k
効率的な技術組織が作れる!書籍『チームトポロジー』要点まとめ
iwamot
2
180
「完全に理解したTalk」完全に理解した
segavvy
1
260
ゼロから創る横断SREチーム 挑戦と進化の軌跡
rvirus0817
3
740
Google Cloud で始める Cloud Run 〜AWSとの比較と実例デモで解説〜
risatube
PRO
0
130
最近のSfM手法まとめ - COLMAP / GLOMAPを中心に -
kwchrk
8
1.7k
普通のエンジニアがLaravelコアチームメンバーになるまで
avosalmon
0
650
OPENLOGI Company Profile
hr01
0
57k
Unlearn Product Development - Unleashed Edition
lemiorhan
PRO
2
160
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Into the Great Unknown - MozCon
thekraken
34
1.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7k
GraphQLとの向き合い方2022年版
quramy
44
13k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
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