`rememberUpdatedState` in Compose

In Jetpack Compose you can use rememberUpdatedState to capture values that may update over time but without a full restart of the rememberUpdatedState function.

June 30, 2025 · 1 min

Default padding in Compose Material3 Scaffold

The default Material3 Scaffold component adds the height of the bottomBar parameter to the inner padding which resulted in the issues I was having with the floating navigation bar. Removing all calls to Modifier.padding and wiring down the padding parameter as contentPadding resolved the problem.

June 30, 2025 · 1 min

Sizing Composables to window insets

There are APIs in Jetpack Compose to be able to size things exactly as tall/wide as specific Insets, which is documented here.

June 30, 2025 · 1 min

Writing Paparazzi tests for your Kotlin Multiplatform projects

Paparazzi enables a radically faster and improved UI testing workflow, and using a small workaround we can bring that to our multiplatform Compose projects

June 26, 2022 · 3 min