Class

GridItemSpan

Represents the span of an item in a LazyVerticalGrid or a LazyHorizontalGrid.

Source set: Common
public class GridItemSpan internal constructor(private val packedValue: Long)

Represents the span of an item in a LazyVerticalGrid or a LazyHorizontalGrid.

Properties

currentLineSpan

Source set: Common
public val currentLineSpan: Int

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

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: