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
The New Era of Android Development - IDCamp x K...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Ahmad Arif Faizin
May 28, 2023
Programming
0
70
The New Era of Android Development - IDCamp x Kadin 2023
Presented for Offline Training Android Dev @Medan
Ahmad Arif Faizin
May 28, 2023
Tweet
Share
More Decks by Ahmad Arif Faizin
See All by Ahmad Arif Faizin
Mental Model untuk Memahami Orang Lain
arifaizin
0
110
The Secret Project Team Who First Launch Android OS - The Untold Story
arifaizin
0
92
The Journey to Keep Strive as a Tech Talent - The Untold Story
arifaizin
0
25
Focus Group Discussion (FGD) Penyempurnaan Kurikulum Program Studi Informatika
arifaizin
0
76
[Indocomtech Event] Intro to AI: Essential Basics and Practical Guide to Get You Started - Coding Camp 2025 powered by DBS Foundation
arifaizin
0
34
BDD 2024 - Automate Dependency Management in a Scalable Way with Gradle Version Catalog
arifaizin
0
180
Tips & Trik Menghabiskan Task dengan Automa
arifaizin
0
33
The Opportunity of a Digital World - Dicoding Career Fair 2023
arifaizin
0
120
Bringing Machine Learning in Android with MediaPipe - DroidJam 2023
arifaizin
2
770
Other Decks in Programming
See All in Programming
24時間止められないシステムを守る-医療ITにおけるランサムウェア対策の実際
koukimiura
2
160
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1.1k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
670
CSC307 Lecture 10
javiergs
PRO
1
680
浮動小数の比較について
kishikawakatsumi
0
240
Metaprogramming isn't real, it can't hurt you
okuramasafumi
0
110
ふん…おもしれぇ Parser。RubyKaigi 行ってやるぜ
aki_pin0
0
100
日本だけで解禁されているアプリ起動の方法
ryunakayama
0
340
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
190
CSC307 Lecture 09
javiergs
PRO
1
840
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
1k
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
330
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
190
30 Presentation Tips
portentint
PRO
1
230
Large-scale JavaScript Application Architecture
addyosmani
515
110k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Faster Mobile Websites
deanohume
310
31k
Marketing to machines
jonoalderson
1
4.9k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Transcript
The New Era of Android Development Ahmad Arif Faizin Curriculum
Developer
None
None
Android Studio
Android Studio Bot 🤖
Device Mirroring 🪞 • File > Settings > Tools >
Device Mirroring • Enable mirroring of physical Android devices. • Bye bye Visor~
App Quality Insights 🪲
New UI 😎
Kotlin
None
Explicit Fields ✨
Kotlin DSL 🪶 • All in one language • More
readable • Better compile-time checking
Hints & Documentation 💖
Version Catalog 📖 // build.gradle.kts plugins { alias(libs.plugins.com.android.application) alias(libs.plugins.org.jetbrains.kotlin.android) id("com.google.devtools.ksp")
} ... dependencies { implementation(libs.core.ktx) implementation(libs.appcompat) } // libs.version.toml [versions] com-android-application = "8.1.0-alpha11" org-jetbrains-kotlin-android = "1.8.0" core-ktx = "1.9.0" appcompat = "1.4.1" [libraries] core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "core-ktx" } appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" } [plugins] com-android-application = { id = "com.android.application", version.ref = "com-android-application" } org-jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "org-jetbrains-kotlin-android" }
Kapt to KSP 🫣
Android Jetpack
Architecture Libraries and Guidance 🗝
Recommendation 👌 https://developer.android.com/topic /architecture/recommendations
Modularization 🪱
Dependency Injection 💉
None
Jetpack Compose
None
Look at the new Project Template 👀
Jetpack Compose is Android’s recommended modern toolkit for building native
UI. It simplifies and accelerates UI development on Android. Quickly bring your app to life with less code, declarative Kotlin APIs, powerful tools, and backward compatible.
Construct UI by describing what, not how.
XML Vs Compose 💥 <!-- activity_main.xml --> <FrameLayout> <RecyclerView android:id=”@+id/listNews”
... /> <TextView android:id=”@+id/textError”.../> </FrameLayout> // Activity.kt val listNews = findViewById(R.id.listNews) val textError = findViewById(R.id.textError) if (data.size > 0){ listNews.visibility = View.VISIBLE textError.visibility = View.GONE } else { listNews.visibility = View.GONE textError.visibility = View.VISIBLE } // Activity.kt @Composable fun NewsScreen(newsList: List<News>) { if (newsList.size > 0){ Column { for (title in newsList){ Text(text = title) } } } else { Text(text = "No Data!") } }
Material You
None
Look (again) at the new Project Template 👀👀
M2 vs M3 💥
None
None
None
Conclusion 🎁 d.android.com/modern-android-development
“All you need is the plan, the road map, and
the courage to press on to your destination.” Earl Nightingale
Thank you