Building a production ready Chat SDK using Jetpack Compose
summary
Built the world's first Jetpack Compose Chat SDK, implemented in a few months while Compose was still in beta and launched day one of 1.0. The SDK uses three component layers — screen / bound / stateless — binds to viewmodels, exposes slot APIs, modifiers and action handlers, and supplies a ChatTheme for global colors and shapes. Lazy lists use keys and Compose’s recomposition to avoid heavy diffs. Team measures at least 2x faster UI development versus XML and reports no production stability or performance issues; source and docs live on GitHub.
AI-written summary · about
chapters (29)
- 0:00Start
- 4:59Building a Production Ready Chat Sdk Using Jetpack Compose
- 7:43Why Jetpack
- 12:27Is Compose Ready To Use in Production
- 13:31Accompanist Libraries
- 16:39Component Types
- 17:29Bound Components
- 18:22Stateless Components
- 20:22Message List
- 21:05Viewmodel
- 22:03Item Content Function
- 22:28Customizing the Item Content Function
- 24:35Loading and Pagination State
- 25:44Miscellaneous
- 29:28Bottoms-Down Approach
- 30:06Lack of Examples
- 30:35Best Practices
- 31:19Concerns
- 31:30Dynamically Size Components
- 32:21Message List Optimization
- 33:06Deep Customization
- 34:06Nested Components
- 41:41Action Handlers
- 43:19Ui Customizations
- 43:36Slot Integrations
- 44:05Label
- 45:22Chat Theme
- 47:01Resources
- 50:11Building Newer Features in Compose
related talks
35mBuilding a Production-Ready Chat SDK Using Jetpack Compose
41mCompose by Example
17mWhat's new in Jetpack Compose
43mBranching out to Jetpack Compose
35mNext Generation Android UI with Jetpack Compose
32mJetpack Compose — Next Gen Kotlin UI Toolkit for Android
34mRetrofitting Legacy Code with Jetpack Compose at Scale
01h 00mJetpack Compose - Next Gen Kotlin UI Toolkit for Android
