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
val contentType: Any?

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

index

Added in 1.5.0
val index: Int

The index of the item in the underlying data source.

key

Added in 1.5.0
val key: Any

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

measuredHeight

Added in 1.5.0
val measuredHeight: Int

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

offset

Added in 1.5.0
val offset: Int

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

scrollProgress

val scrollProgress: TransformingLazyColumnItemScrollProgress

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

transformedHeight

Added in 1.5.0
val transformedHeight: Int

The height of the item after applying height transformation.