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
Introduction to Jetpack Compose
Search
Karan
January 14, 2023
Programming
470
0
Share
Introduction to Jetpack Compose
Karan
January 14, 2023
More Decks by Karan
See All by Karan
Building an Accessible Android Weather App: Lessons from iOS Weather App's A11y Features
karan4c6
0
110
Learn Kotlin in 1 Day
karan4c6
0
160
Other Decks in Programming
See All in Programming
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
340
Talking to terminals (and how they talk back) (KotlinConf 2026)
jakewharton
PRO
1
160
AI時代だからこそ「Bloc」を採用する価値があるのかもしれない
takuroabe
0
260
TypeSpec で繋ぐ複数プロダクトの型安全
maroon8021
1
260
OSもどきOS
arkw
0
280
AI 時代のソフトウェア設計の学び方
masuda220
PRO
28
11k
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
240
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
1
670
inferと仲良くなる10分間
ryokatsuse
1
270
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
450
Moments When Things Go Wrong
aurimas
3
120
Inside Stream API
skrb
1
340
Featured
See All Featured
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
320
Are puppies a ranking factor?
jonoalderson
1
3.4k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
A Tale of Four Properties
chriscoyier
163
24k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.5k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
710
Building an army of robots
kneath
306
46k
Producing Creativity
orderedlist
PRO
348
40k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
170
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
370
Testing 201, or: Great Expectations
jmmastey
46
8.2k
Transcript
Introduction to Jetpack Compose #AndroidTechTalks Karan Sharma
Today we’ll explore .. Composable Functions Compose Layouts Compose UI
Themes and Styling Flutter v/s Compose
Why should we use Jetpack Compose ? # Less Code,
less bugs # Declarative UI Approach, No XML # Compatible with Android Views # Material Design, Dark Theme, Animations # Unidirectional Data Flow
Unidirectional Data Flow • Decoupling State from UI • Single
source of Truth - State
Composable Functions • @Composable annotation • Do not return anything.
• Can execute in any order • Can execute in parallel. • They have memory
Setup https://developer.android.com/jetpack/compose/setup 1.4 minSDKVersion 21 4.2
Some more.. Setup
Output Recomposition • Composables are called repetitively • Recompose when
State changes • Skips recomposition when no state change
Jetpack Compose # Declarative UI Toolkit Screen EditText Form EditText
Button Search Bar Icon EditText Login Email Password
Output Modifiers (Decorate)
Layouts
Themes Let’s style our app !
Themes
Themes (Colors) Colors.kt Theme.kt
Themes (Colors) Theme.kt
Themes (Typography) Theme.kt
(Typography) add different fonts add fonts to your Theme Themes
Let’s Compose !
Flutter v/s Compose # Production Ready #Declarative UI # Widgets
# Composables # Hot Reload # Hot UI # Instant Run # Preview Compose for Web Compose for Desktop
• https://developer.android.com/courses/pathways/compose • https://developer.android.com/jetpack/compose • https://developer.android.com/jetpack/compose/setup • https://jetpackcompose.app/ • https://www.jetbrains.com/lp/compose-desktop/
• https://compose-web.ui.pages.jetbrains.team/ • https://google.github.io/accompanist/ References
Thank You !