Jetpack Compose Enhances Scrolling, Lazy Lists, and More
Briefly

The latest release of Jetpack Compose enhances several features including new shadow rendering options via Modifier.dropShadow() and Modifier.innerShadow(). Two new visibility modifiers, onVisibilityChanged and onFirstVisible, improve tracking of element visibility. Lazy components achieve better prefetch performance with the LazyLayoutCacheWindow, while a new Scrollable2D modifier allows scrolling in both dimensions for complex applications. Additionally, an opt-in API offers enriched crash reports, providing valuable context for identifying issues during development.
The latest release of Jetpack Compose introduces two new modifiers, Modifier.dropShadow() and Modifier.innerShadow(), enabling box-shadow effects either below or on top of composables.
Jetpack Compose introduces two new visibility modifiers, onVisibilityChanged and onFirstVisible, enhancing element visibility tracking necessary for features like automatic video playing.
Improvements in lazy components enhance prefetch performance in lazy lists and grids through the LazyLayoutCacheWindow, allowing developers to specify how many items to prefetch.
The new Scrollable2D modifier enables dual-direction scrolling and flinging, benefiting complex applications, such as spreadsheets, by enhancing existing one-directional scrolling capabilities.
Read at InfoQ
[
|
]