Adopting Jetpack Compose Safely
Abstract:
If you want to start adopting Jetpack Compose in an existing, large codebase, worked on by multiple teams, you can’t just add the dependency and start creating composables right away.In such projects, there are already established conventions, processes, and architecture decisions that will be disrupted with such a revolutionary change as Compose, since it requires a mental model shift towards declarative patterns.
In this talk, we will show the process that led us to a harmless integration of Compose into the TIER application, focusing on tooling, architectural changes, the evolution of our design system, and how we managed to get our developers onboard for all of the above.
Slides:
Video
Co-speaker:
Resources:
Modern Android Development
https://developer.android.com/modern-android-developmentState holders and UI State
https://developer.android.com/topic/architecture/ui-layer/stateholdersUI events
https://developer.android.com/topic/architecture/ui-layer/eventsCompose BOM
https://twitter.com/Lojanda/status/1584589111670673409Now in Android Convention Plugins
https://github.com/android/nowinandroid/tree/main/build-logicBranching out to Jetpack Compose
https://www.droidcon.com/2022/06/28/branching-out-to-jetpack-compose/Compose API Guidelines
https://github.com/androidx/androidx/blob/androidx-main/compose/docs/compose-api-guidelines.mdTwitter’s Jetpack Compose Rules
https://github.com/twitter/compose-rules