Diagnose and fix recomposition, allocation, and frame-drop problems in a Jetpack Compose UI for smooth scrolling on high-refresh displays.
## CONTEXT A Kotlin developer is shipping an Android application built with Jetpack Compose (a recent Compose BOM with the K2 Kotlin compiler) and is fighting jank: dropped frames during scroll, slow first composition, stutter during animations, and battery drain that traces back to wasted work on the main thread. The…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro