Something old, something new: Adding Jetpack Compose to a large open source Android app
summary
Adds Jetpack Compose into Habitica, a large open‑source Android app with 26 activities and 33 fragments, facing tight Kotlin/compiler version coupling that breaks builds until aligned, and a theme mess of 27 custom colors and 82 styles that forces using composition locals or a custom theme. Chooses a design‑system module for reusable components, implements a composable inside a RecyclerView view holder, makes expansion animation trivial with animateContentSize, but tests don’t compile and no PR is submitted.
AI-written summary · about
chapters (14)
- 0:00Introduction to Compose
- 5:01Understanding Compose architecture
- 7:50Researching Compose integration
- 10:17Overcoming build errors
- 12:02Handling themes and colors
- 17:23Organizing composables in codebase
- 19:08Converting whole screens to Compose
- 20:31Building reusable components
- 23:17Integrating Compose with RecyclerView
- 26:29Adding animations in Compose
- 27:54Testing and PR considerations
- 30:20Pros and cons of adding Compose
- 33:09Lessons learned from the journey
- 35:35Future plans for Compose
related talks
35mSomething old, something new: Adding Jetpack Compose to a large open source Android app
34mRetrofitting Legacy Code with Jetpack Compose at Scale
01h 08mAdopting Jetpack Compose @ Scale
47mUp to Date? Talking About Your App
35mNext Generation Android UI with Jetpack Compose
43mBranching out to Jetpack Compose
42mBranching out to Jetpack Compose
01h 09mJetpack Compose for consistency of your apps' UI
