ItemSizeConstraintsProviderScope
Class that provides scope and context information for item size constraint calculations in collection layouts. This class encapsulates the essential parameters needed to determine how individual items should be sized within a collection.
Parameters
layoutInfo
Information about the layout configuration and properties
collectionConstraints
Size constraints applied to the entire collection
collectionSize
The actual size of the collection, null if not yet determined
isVertical
Whether the collection is oriented vertically (true) or horizontally (false)
isDynamicSize
Whether the collection supports dynamic size
Inheritors
Properties
Functions
Link copied to clipboard
fun ItemSizeConstraintsProviderScope.getChildSizeConstraints(item: CollectionItem<*>): SizeConstraints
Calculates the size constraints for the child of the Recycler.