Android
inner class MeasurementScope(
var visibleItems: ArrayDeque<TransformingLazyColumnMeasuredItem>,
var itemSpacing: Int,
var beforeContentPadding: Int,
var afterContentPadding: Int,
var itemsCount: Int,
var maxHeight: Int,
)
Properties
Android
val isAtStartOrOverscrolledBackwards: Boolean
Android
val isAtEndOrOverscrolledForward: Boolean
Functions
addVisibleItemsBefore
fun addVisibleItemsBefore(measuredItemProvider: MeasuredItemProvider): Unit
addVisibleItemsAfter
fun addVisibleItemsAfter(measuredItemProvider: MeasuredItemProvider): Unit
correctLayout
fun correctLayout(anchorItem: TransformingLazyColumnMeasuredItem): Unit
anchorItem
fun anchorItem(): TransformingLazyColumnMeasuredItem?
pinToStart
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
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
fun restoreLayoutTopToBottom(): Int
restoreLayoutBottomToTop
fun restoreLayoutBottomToTop(): Int
restoreLayoutCentered
fun restoreLayoutCentered(): Int
fitsScreen
fun fitsScreen(): Boolean