~/talk

From Android View to Jetpack Compose — A Guide to Migrating to Jetpack Compose

TalkinJapaneseat DroidKaigi 2024 · 2024-09-11..09-13· [android, frontend-architecture]
name:syarihu
links:none on file
slides:none on file

A practical, incremental migration from Android View to Jetpack Compose using Kotlin 2.0–aligned Compose compiler, Hilt, Navigation Compose, and ComposeView as a bridge for mixed screens. The team divides work into components and follows an eight-step migration (layout split, implement UI, extract UIState, add interactive previews in Android Studio, move ViewModel logic, then replace views), demonstrating the approach by building an onboarding screen with animated progress and crossfading buttons and validating behavior with interactive previews.

AI-written summary · about

  1. 0:00Introduction
  2. 1:28View vs Compose differences
  3. 3:37Migration rules
  4. 8:15Theming and colors
  5. 12:10Naming conventions
  6. 14:38UI state management
  7. 19:12Preview setup
  8. 20:35Designing previews
  9. 27:58Rendering-only migration
  10. 29:53Onboarding migration
  11. 37:27Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.