LazyColumnLayoutInfo

sealed interface LazyColumnLayoutInfo


Holds the layout information for a LazyColumn.

Summary

Public properties

Int

The total count of items passed to LazyColumn.

IntSize

The size of the viewport in pixels.

List<LazyColumnVisibleItemInfo>

A list of LazyColumnVisibleItemInfo objects representing the visible items in the list.

Public properties

totalItemsCount

Added in 1.5.0-alpha02
val totalItemsCountInt

The total count of items passed to LazyColumn.

viewportSize

Added in 1.5.0-alpha02
val viewportSizeIntSize

The size of the viewport in pixels.

visibleItems

Added in 1.5.0-alpha02
val visibleItemsList<LazyColumnVisibleItemInfo>

A list of LazyColumnVisibleItemInfo objects representing the visible items in the list.