Class

GridCells.Fixed

Defines a fixed number of columns, limited to 1 through 5.

Source set: Android
public class Fixed(public val count: Int) : GridCells()

Defines a fixed number of columns, limited to 1 through 5.

For example, LazyVerticalGrid Fixed(3) would mean that there are 3 columns 1/3 of the parent wide.

Parameters

count number of columns in LazyVerticalGrid

Functions

equals

Source set: Android
override fun equals(other: Any?): Boolean

hashCode

Source set: Android
override fun hashCode(): Int
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: