CollectionLayoutScope
class CollectionLayoutScope(val layoutInfo: LayoutInfo, val collectionConstraints: SizeConstraints, val collectionSize: Size?, val isVertical: Boolean, val wrapInMainAxis: Boolean, val crossAxisWrapMode: CrossAxisWrapMode) : ItemSizeConstraintsProviderScope
Constructors
Link copied to clipboard
constructor(layoutInfo: LayoutInfo, collectionConstraints: SizeConstraints, collectionSize: Size?, isVertical: Boolean, wrapInMainAxis: Boolean, crossAxisWrapMode: CrossAxisWrapMode)
Properties
Functions
Link copied to clipboard
Measures the size of the Collection.
Link copied to clipboard
fun ItemSizeConstraintsProviderScope.getChildSizeConstraints(item: CollectionItem<*>): SizeConstraints
Calculates the size constraints for the child of the Recycler.