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.

open Int

This property is deprecated. Use transformedHeight instead.

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-alpha04
val contentTypeAny?

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

height

Added in 1.5.0-alpha04
Deprecated in 1.5.0-alpha04
open val heightInt

The height of the item after applying height transformation.

index

Added in 1.5.0-alpha04
val indexInt

The index of the item in the underlying data source.

key

Added in 1.5.0-alpha04
val keyAny

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

measuredHeight

Added in 1.5.0-alpha04
val measuredHeightInt

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

offset

Added in 1.5.0-alpha04
val offsetInt

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

scrollProgress

Added in 1.5.0-alpha04
val scrollProgressTransformingLazyColumnItemScrollProgress

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

transformedHeight

Added in 1.5.0-alpha04
val transformedHeightInt

The height of the item after applying height transformation.