TransformingLazyColumnItemScrollProgress

Class

Android
public value class TransformingLazyColumnItemScrollProgress
internal constructor(private val packedValue: Long)

Scroll progress of an item in a TransformingLazyColumn before any modifications to the item's height are applied (using TransformingLazyColumnItemScope.transformedHeight modifier).

Secondary Constructors

public constructor(
    topOffsetFraction: Float,
    bottomOffsetFraction: Float,
) : this(packFloats(topOffsetFraction, bottomOffsetFraction))

Constructs a TransformingLazyColumnItemScrollProgress with two offset fraction Float values.

Parameters

topOffsetFractionThe top offset (between the top of the list container and the top of the item) as a fraction of the height of the list container.
bottomOffsetFractionThe bottom offset (between the top of the list container and the bottom of the item) as a fraction of the height of the list container.

Companion Object

Properties

Android
public val Unspecified: TransformingLazyColumnItemScrollProgress

Represents an unspecified TransformingLazyColumnItemScrollProgress value, usually a replacement for null when a primitive value is desired.