public sealed interface TransformingLazyColumnLayoutInfo
Holds the layout information for a TransformingLazyColumn.
Properties
visibleItems
public val visibleItems: List<TransformingLazyColumnVisibleItemInfo>
A list of TransformingLazyColumnVisibleItemInfo objects representing the visible items in the list.
totalItemsCount
public val totalItemsCount: Int
The total count of items passed to TransformingLazyColumn.
viewportSize
public val viewportSize: IntSize
The size of the viewport in pixels.
reverseLayout
public val reverseLayout: Boolean
True if the direction of scrolling and layout is reversed.
beforeContentPadding
public val beforeContentPadding: Int
The content padding in pixels applied before the first item in the direction of scrolling.
When the first item is visible and uses androidx.wear.compose.foundation.lazy.TransformingLazyColumnItemScope.minimumVerticalContentPadding, this value is the maximum of the contentPadding parameter provided to the TransformingLazyColumn and the responsive padding calculated for the item.
When the first item is not visible, this value reflects the contentPadding parameter.
afterContentPadding
public val afterContentPadding: Int
The content padding in pixels applied after the last item in the direction of scrolling.
When the last item is visible and uses androidx.wear.compose.foundation.lazy.TransformingLazyColumnItemScope.minimumVerticalContentPadding, this value is the maximum of the contentPadding parameter provided to the TransformingLazyColumn and the responsive padding calculated for the item.
When the last item is not visible, this value reflects the contentPadding parameter.