A look into debugging a performance issue in Jetsnack and how to fix it in
Compose. Learn why deferring state reads by using a lambda means composition can
be skipped.
Key points
The three phases of Compose are composition, layout, and draw.
Compose can skip a phase if nothing has changed. Sometimes Compose will
entirely skip composition to optimize performance.
You can use a lambda modifier can skip composition.
Skipping recomposition can help reduce jank during scrolling.
The Layout Inspector in Android Studio is a good tool to help you debug
recomposition issues.
App architecture design is an important consideration for ensuring that your apps are robust, testable, and maintainable. Android provides a set of libraries and components to help you put together your app according to best practices.
App architecture design is an important consideration for ensuring that your apps are robust, testable, and maintainable. Android provides a set of libraries and components to help you put together your app according to best practices.
With the ability to publish rapidly to over 2 billion active Android devices, Google Play helps you grow a global audience for your apps and games and earn revenue.
Updated Mar 4, 2025
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-06 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-06 UTC."],[],[]]