MediumScenarioKotlin and Jetpack Compose
A Compose screen recomposes too often and drops frames. How do you troubleshoot?
What a good answer covers
Use the layout inspector's recomposition counts, make parameters stable or immutable, hoist state, use remember and derivedStateOf, and use keys in lazy lists.