Christophy Barth·Aug 12Custom Animations with Animatable and TransitionThe animate*AsState family is where everyone starts, and for good reason. You want a color or a size to move toward a target, you wrap it…
Christophy Barth·Aug 10Animating Content Changes: AnimatedContent, Crossfade, and animateContentSizeA lot of the polish in a good Android app comes from one small thing: when the content on screen changes, it doesn’t just snap. A number…
Christophy Barth·Aug 7Drawing Custom UI with Canvas in ComposeEvery so often, a design lands on your desk that no combination of Box, Row, and existing components can build. A custom progress ring, a…
Christophy Barth·Aug 5SubcomposeLayout, and the One Problem It SolvesMost of Compose keeps composition and layout as separate phases. Everything composes first, then the whole tree measures and places itself…
Christophy Barth·Aug 3BoxWithConstraints: When You Actually Need ItBoxWithConstraints gets recommended a lot, often as the one-line answer to "how do I make my layout responsive?" It can do that. But it…
Christophy Barth·Jul 31Stop Watching the Terminal: Native macOS Notifications for Claude CodeLet’s be honest, the worst part of working with Claude Code isn’t anything Claude does. It’s the babysitting. Somewhere between kicking off…
Christophy Barth·Jul 15Intrinsic Measurements, DemystifiedHere’s a layout problem that looks trivial and isn’t. You have two pieces of text side by side with a vertical divider between them, and…
Christophy Barth·Jul 14Understanding Constraints in Compose LayoutIf you’ve written a custom layout, you’ve seen the constraints object handed to you and probably passed it straight through to your…
Christophy Barth·Jul 13Writing Your First Custom Layout in ComposeRow, Column, and Box handle almost everything you'll ever need to arrange on screen. But every so often you hit a design that none of them…
Christophy Barth·Jul 10Load More as You Scroll: Pagination in LazyColumnInfinite scrolling looks like magic from the outside, but the mechanism is humble. You watch how far down the list the user has scrolled…