ALTERNATE UNIVERSE DEV

goobar podcast

Jetpack Compose Tips From a Production Android App

This week's podcast episode explores Jetpack Compose tips that have been helping my team while using Compose in an existing production Android app.

Chapters

00:43 Intro
02:12 Leverage self-documenting apis
04:07 Embrace slot-based api design
07:46 Expose composable parameters with sensible defaults
11:18 Customize your Composable previews
13:15 Modularize for faster @Preview refresh
16:02 Build a sandbox app for rapid prototyping
18:25 Pull from the MaterialTheme
19:30 Theming is contextual
21:35 Extend MaterialTheme when needed - but not for everything
24:20 Use a debug color palette


Show Notes

Jetpack Compose
https://developer.android.com/jetpack/compose

Slot-based layouts
https://developer.android.com/jetpack/compose/layouts/basics#slot-based-layouts

Theming in Compose
https://developer.android.com/jetpack/compose/themes

Adopting Compose
https://developer.android.com/jetpack/compose/interop

Episode source