LazyColumnVisibleItemInfo

sealed interface LazyColumnVisibleItemInfo


Represents an item that is visible in the LazyColumn component.

Summary

Public properties

Int

The height of the item after applying any height changes.

Int

The index of the item in the underlying data source.

Int

The offset of the item from the start of the visible area.

LazyColumnItemScrollProgress

The scroll progress of the item, indicating its position within the visible area.

Public properties

height

Added in 1.5.0-alpha01
val heightInt

The height of the item after applying any height changes.

index

Added in 1.5.0-alpha01
val indexInt

The index of the item in the underlying data source.

offset

Added in 1.5.0-alpha01
val offsetInt

The offset of the item from the start of the visible area.

scrollProgress

Added in 1.5.0-alpha01
val scrollProgressLazyColumnItemScrollProgress

The scroll progress of the item, indicating its position within the visible area.