🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

TransformingLazyColumnContentPaddingMeasurementStrategy.MeasurementScope

Source set: Android
inner class MeasurementScope(
        var visibleItems: ArrayDeque<TransformingLazyColumnMeasuredItem>,
        var itemSpacing: Int,
        var beforeContentPadding: Int,
        var afterContentPadding: Int,
        var itemsCount: Int,
        var maxHeight: Int,
    )

Properties

isAtStartOrOverscrolledBackwards

Source set: Android
val isAtStartOrOverscrolledBackwards: Boolean

isAtEndOrOverscrolledForward

Source set: Android
val isAtEndOrOverscrolledForward: Boolean

Functions

addVisibleItemsBefore

Source set: Android
fun addVisibleItemsBefore(measuredItemProvider: MeasuredItemProvider): Unit

addVisibleItemsAfter

Source set: Android
fun addVisibleItemsAfter(measuredItemProvider: MeasuredItemProvider): Unit

correctLayout

Source set: Android
fun correctLayout(anchorItem: TransformingLazyColumnMeasuredItem): Unit

anchorItem

Source set: Android
fun anchorItem(): TransformingLazyColumnMeasuredItem?

pinToStart

Source set: Android
fun pinToStart(): Int

Pins the content to the start of the scrollable area. This is used to correct overscroll at the beginning of the list or when content fits the screen.

pinToEnd

Source set: Android
fun pinToEnd(): Int

Pins the content to the end of the scrollable area. This is used to correct overscroll at the end of the list.

restoreLayoutTopToBottom

Source set: Android
fun restoreLayoutTopToBottom(): Int

restoreLayoutBottomToTop

Source set: Android
fun restoreLayoutBottomToTop(): Int

restoreLayoutCentered

Source set: Android
fun restoreLayoutCentered(): Int

fitsScreen

Source set: Android
fun fitsScreen(): Boolean