{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

StaggeredGridItemSpan


Span defines a number of lanes (columns in vertical grid/rows in horizontal grid) for staggered grid items. Two variations of span are supported:

Summary

Public companion properties

StaggeredGridItemSpan

Force item to occupy whole line in cross axis.

Cmn
StaggeredGridItemSpan

Force item to use a single lane.

Cmn

Public companion properties

FullLine

val FullLineStaggeredGridItemSpan

Force item to occupy whole line in cross axis.

SingleLane

val SingleLaneStaggeredGridItemSpan

Force item to use a single lane.