Function

GridItemSpan

Creates a GridItemSpan with a specified currentLineSpan.

GridItemSpan

Source set: Common
public fun GridItemSpan(@IntRange(from = 1) currentLineSpan: Int): GridItemSpan

Creates a GridItemSpan with a specified currentLineSpan. This will be the horizontal span for an item of a 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: