Interface

TransformingLazyColumnVisibleItemInfo

Represents an item that is visible in the TransformingLazyColumn component.

Source set: Android
public sealed interface TransformingLazyColumnVisibleItemInfo

Represents an item that is visible in the TransformingLazyColumn component.

Properties

index

Source set: Android
public val index: Int

The index of the item in the underlying data source.

offset

Source set: Android
@get:FrequentlyChangingValue public val offset: Int

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

transformedHeight

Source set: Android
@get:FrequentlyChangingValue public val transformedHeight: Int

The height of the item after applying height transformation.

measuredHeight

Source set: Android
public val measuredHeight: Int

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

scrollProgress

Source set: Android
@get:FrequentlyChangingValue public val scrollProgress: TransformingLazyColumnItemScrollProgress

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

key

Source set: Android
public val key: Any

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

contentType

Source set: Android
public val contentType: Any?

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

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: