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

GridItemSpan

value public final class GridItemSpan


Represents the span of an item in a LazyVerticalGrid.

Summary

Public methods

final int

The span of the item on the current line.

Public methods

getCurrentLineSpan

public final int getCurrentLineSpan()

The span of the item on the current line. This will be the horizontal span for items of LazyVerticalGrid.