Companion

object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val UNSET: Int

Functions

Link copied to clipboard
Link copied to clipboard

Returns true if layoutInfo represents a grid (fixed-column or staggered). For grids, the cross-axis size is always determined by the parent spec — a single item's measured size is only 1/spanCount of the grid width and must never be used as a proxy for the grid size.

Link copied to clipboard
fun shouldMeasureItemForSize(widthSpec: Int, heightSpec: Int, scrollDirection: Int, canRemeasure: Boolean): Boolean