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
Jetpack Compose - DevFest 2019
Search
Raka Adi Nugroho
September 24, 2022
Technology
0
91
Jetpack Compose - DevFest 2019
latepost, jetpack compose GDG DevFest 2019 Yogyakarta
Raka Adi Nugroho
September 24, 2022
Tweet
Share
More Decks by Raka Adi Nugroho
See All by Raka Adi Nugroho
Software Architecture 101
rakaadinugroho
0
17
Coroutine x Retrofit - Android Developer Day
rakaadinugroho
0
660
Other Decks in Technology
See All in Technology
Google Cloud Next '24 Recap(Cloud Run/k8s)
mokocm
0
340
【基本】データベース設計
oracle4engineer
PRO
2
200
Azureの基本的な権限管理の勉強会
yhana
1
2.1k
require(ESM)とECMAScript仕様
uhyo
4
990
uvを使ってストレスフリーな Python開発をしよう!
r74tech
0
120
Tellus の衛星データを見てみよう #mf_fukuoka
kongmingstrap
0
280
LayerXにおけるLLMプロダクト開発の今までとこれから
layerx
PRO
4
750
Rustで「プリズモイダル法」を利用して「土量計算」をガチでやる
nokonoko1203
1
310
障害対応をちょっとずつよくしていくための 演習の作りかた
heleeen
1
1.7k
生産性向上チームの紹介
cybozuinsideout
PRO
1
930
開発パフォーマンスを最大化するための開発体制
ham0215
7
1.1k
よく聞くけど使ったことないソフトウェアNo.1 KafkaとSnowflake
foursue
4
520
Featured
See All Featured
RailsConf 2023
tenderlove
9
560
Designing with Data
zakiwarfel
96
4.8k
Designing for humans not robots
tammielis
247
25k
How to name files
jennybc
65
93k
The Pragmatic Product Professional
lauravandoore
26
5.8k
Writing Fast Ruby
sferik
622
60k
Designing on Purpose - Digital PM Summit 2013
jponch
111
6.5k
No one is an island. Learnings from fostering a developers community.
thoeni
16
2.1k
Atom: Resistance is Futile
akmur
260
25k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
275
13k
Adopting Sorbet at Scale
ufuk
69
8.6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
8
3.4k
Transcript
None
JetPack Compose
About Raka Adi Nugroho - Software Engineer Android @Tokopedia -
External Academy Reviewer @Dicoding - Android Developer @PrivyID /rakaadinugroho
JetPack Compose
None
Overview Jetpack Compose Jetpack Compose is a modern toolkit for
building native Android UI. Jetpack Compose simplifies and accelerates UI development on Android with less code, powerful tools, and intuitive Kotlin APIs.
None
History of UI Toolkit
Android Journey
Common Thing Spread across several files - MainActivity.kt / JournalFragment.kt
- fragment_journal.xml - style.xml
Core Concept - Concise and Idiomatic Kotlin - Declarative -
Compatible - Beautiful Apps - Accelerate Development
Concise and Idiomatic Kotlin
Declarative
Declarative Imperative
Compatible
Beautiful Apps
Accelerate Development
Tokopedia UI - Unify
What do we need? - Re-Usable UI Component - Single
source of truth
Hi! Jetpack Compose Future?
Jetpack Compose - Major Components - Compose UI Library -
Compose Compiler
Jetpack Compose - Major Components
Android Studio Support
Layout Preview?
# 1 Data Flow?
Data Flow The declarative nature of Compose and it's UI
components influence how data flows through a Compose application. DATA EVENT
Data Flow - Data Flows Down DATA
Data Flow - Events flow up EVENT
UI as a Tree VS COLUMN JOURNAL ITEM 1 JOURNAL
ITEM N CARD TITLE ABSTRACTION BUTTON
UI as a Tree VS COLUMN JOURNAL ITEM 1 JOURNAL
ITEM N CARD TITLE ABSTRACTION BUTTON
# 2 State Handler
UI as a Function UI=f(s)
State Handler
Existing UI UI Rendering Compose
Demo
- Flexibility - Re-Usability - Reactive Model - Less code
POV : Pros & Cons - Min. API 21 - Layout Params (Padding)
Jetpack Compose build for U & I ?
Quick Recap 1. New Way to Build UI on Android
2. As an Android Developer, you must try
end; https://github.com/rakaadinugroho/ComposePlayground