On the road to Jetpack Compose
summary
Jetpack Compose is a Kotlin-first, declarative Android UI toolkit that maps observable state into UI and is currently Developer Preview 2 (everything experimental). Examples show using setContent to host composables, Android Studio 4.2+ interactive Previews, observeAsState to bridge LiveData, and a migration of the Sunflower app using a material-theme adapter and androidView fallback for HTML text. Key patterns demonstrated: state hoisting and unidirectional data flow; RecyclerView replacement is in development and ViewPager is not yet provided.
AI-written summary · about
chapters (14)
- 0:00Intro
- 2:26Why are we building this
- 4:31Hello World example
- 11:05Unidirectional Data Flow
- 16:27Compose State
- 21:15Compose Composition
- 22:51Recomposition
- 26:11State Read
- 28:02State Hoist
- 30:54Local State vs Hoist State
- 33:18Internal State
- 34:23The Big Idea
- 41:26Wrapup
- 42:47Questions
related talks
45mFirst look at Jetpack Compose
35mNext Generation Android UI with Jetpack Compose
32mJetpack Compose — Next Gen Kotlin UI Toolkit for Android
01h 00mJetpack Compose - Next Gen Kotlin UI Toolkit for Android
48mLearning Jetpack Compose By Example
35mDeclarative UI patterns
01h 12mJetpack Compose over inheritance
35mCompose Yourself: Designing a Kotlin First UI Toolkit
