NewsCrawler.org

Jetpack Compose 1.13 Released: Recomposition Tracing, Cache Window and More

Jetpack Compose 1.13 发布,憋了这么久终有交代了
Image: juejin.cn

Google released Jetpack Compose 1.13, a toolkit for building Android user interfaces, with BOM 2026.11.01. It requires Kotlin 2.2 or newer and compileSdk 37.1, and Material 3 reached its stable 1.5.0 version. The release adds computedStateOf, which does not re-run dependent UI when the result stays the same, and a way to trace a Recomposition[1] in Perfetto[2] back to the State write that triggered it.

LazyLayoutCacheWindow now sets how many items lists, grids and staggered grids prepare ahead of the screen and how many they keep behind it, using aheadFraction and behindFraction. CapturedAnimatedVisibility removes content from the Composition as soon as visible becomes false and finishes the exit animation using the last captured frame. Progressive blur is available through Modifier.blur { }, FlexBox and Grid moved from experimental to stable, and the Compose versions of ConstraintLayout and MotionLayout are being deprecated.

In Google's test on a Pixel 6 with Android 17, with CPU and GPU frequencies locked, version 1.13 was roughly even with 1.12.1. The Compose version reached the first frame about 3.4% faster than Views, but reached full display about 12.5% slower. Google also described WebContent (androidx.web:web:1.0.0-alpha01) and the Compose A2UI Renderer (material3-a2ui:1.0.0-alpha02), which renders interfaces that agents describe with the A2UI protocol.

Read the original juejin.cn

Sources

  • CNJuejin ZH

    Jetpack Compose 1.13 发布,憋了这么久终有交代了

    9 likes824 views2 comments5 saves

Published: First seen: Читать по-русски

Open as a page