JetpackCompose.app (@JetpkComposeApp) header
JetpackCompose.app (@JetpkComposeApp) profile picture

The #1 destination for all things Jetpack Compose. Keeping up with Android Development is hard. We make it easy, entertaining and rewarding. Made by @VinayGaba

Subscribe Now 👉🏻
Joined July 2022
Photo by JetpackCompose.app (@JetpkComposeApp)Photo by JetpackCompose.app (@JetpkComposeApp)Photo by JetpackCompose.app (@JetpkComposeApp)Photo by JetpackCompose.app (@JetpkComposeApp)Photo by JetpackCompose.app (@JetpkComposeApp)Photo by JetpackCompose.app (@JetpkComposeApp)Photo by JetpackCompose.app (@JetpkComposeApp)Photo by JetpackCompose.app (@JetpkComposeApp)Photo by JetpackCompose.app (@JetpkComposeApp)Photo by JetpackCompose.app (@JetpkComposeApp)
An agent can write a Compose screen that compiles, passes every unit test, and still looks wrong. Text clipped at a large font size, or a dark mode nobody opened. Nothing in its loop can see that. So you end up checking every screen by eye, and that doesn't scale.
2
1
3
341
Screenshot tests give it eyes. Your previews get rendered and diffed against saved images, so a wrong pixel becomes a red test it can act on. I wrote up the checks agents need on Android, screenshots included, in Dispatch: Context #3. Free: jetpackcompose.app/newslette…
1
1
49
Heads up if you set this up now: Google's standalone screenshot plugin is no longer maintained. The docs point to AGP test suites instead (AGP 9.5, still experimental). The two tasks are in the image up top. Paparazzi, Roborazzi or Google's, which one does your agent run?
1
38
From February 2027, Play wants at least 25% shrinking, optimization and obfuscation on uploads of any app with more than 10 MB of DEX. Good job for an agent, since there's a number it can check. The three commands I'd start it with are on the card.
1
1
2
144
The loop: run the second command on the card, narrow the keep rule blocking the most, repeat. Then check the bundle with the third, since that's the number Play goes by. I write about handing real Android chores to agents in Dispatch. Free: jetpackcompose.app/newslette…
1
2
40
The part I wouldn't let it decide alone is dropping a rule. One that's there for reflection can go and the build still passes. You find out from a ClassNotFoundException in the release build. So release build and tests before merge. What's the broadest keep rule in your app?
1
24
Before you let an agent fix an Android UI bug, have it reproduce the bug first. It can drive the emulator itself now. android layout lists what's on screen. android input acts on it: android input tap 'text=Login' android input text '[email protected]' 'id=email_input'
1
5
305
Once it can reproduce the bug, it has its own check. Same steps after the fix, and the bug should be gone. Google's Journeys take this further. You write a user flow in plain English and an agent runs it on a device, from the terminal or in CI.
1
1
59
The first accessibility job I'd hand a coding agent: find every tap target under 48dp on the screen it just changed, and fix it. Callstack's agent-device reads the screen, changes nothing, and flags each small target with a ref the agent can act on.
3
4
278
There's a right answer, so the agent can check its own work: audit, fix, audit again. The finding is gone or it isn't. It also flags missing names and covered controls. Checks an agent can run on its own work are what I write about in Dispatch. Free: jetpackcompose.app/newslette…
1
1
46
"Fix the profile screen" is a bad prompt for an Android agent. It doesn't say where to work or how the agent knows it's done. Here's the version I'd hand off:
1
3
320
Every line there is something the agent can check itself against. The PNGs are my favorite part, since you end up reviewing pixels instead of the agent's description of them. android skills add edge-to-edge grabs that skill.
1
1
53
What order do these print in? Guess first. I'll post the answer in the thread.
1
7
414
First, Last, Disposable, SideEffect, Layout, Draw, Launched. The one that gets people is SideEffect. It's written above DisposableEffect and still runs after it, because Compose dispatches remembered effects first and side effects after them when it applies the composition.
1
83