TransformingLazyColumnVisibleItemInfo

sealed interface TransformingLazyColumnVisibleItemInfo


Represents an item that is visible in the TransformingLazyColumn component.

Summary

Public properties

Any?

The content type of the item which was passed to the item() or items() function.

Int

The index of the item in the underlying data source.

Any

The key of the item which was passed to the item() or items() function.

Int

The height of the item returned during the measurement phase and before height transformation is applied.

Int

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

TransformingLazyColumnItemScrollProgress

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

Int

The height of the item after applying height transformation.

Public properties

contentType

Added in 1.5.0-alpha06
val contentTypeAny?

The content type of the item which was passed to the item() or items() function.

index

Added in 1.5.0-alpha06
val indexInt

The index of the item in the underlying data source.

key

Added in 1.5.0-alpha06
val keyAny

The key of the item which was passed to the item() or items() function.

measuredHeight

Added in 1.5.0-alpha06
val measuredHeightInt

The height of the item returned during the measurement phase and before height transformation is applied.

offset

Added in 1.5.0-alpha06
val offsetInt

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

scrollProgress

Added in 1.5.0-alpha06
val scrollProgressTransformingLazyColumnItemScrollProgress

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

transformedHeight

Added in 1.5.0-alpha06
val transformedHeightInt

The height of the item after applying height transformation.