Android 12 Developer Preview is here! Try it out, and give us your feedback!

Fixed

class Fixed : GridCells
kotlin.Any
   ↳ androidx.compose.foundation.lazy.GridCells
   ↳ androidx.compose.foundation.lazy.GridCells.Fixed

Combines cells with fixed number rows or columns.

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

Summary

Public constructors
<init>(count: Int)

Combines cells with fixed number rows or columns.

Properties
Int

Public constructors

<init>

Fixed(count: Int)

Combines cells with fixed number rows or columns.

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

Properties

count

val count: Int