Composables
Components Unstyled Icons API
Components Unstyled Icons API UI Kit UI Blocks SVG to Compose Android Distribution Community Docs Blog Colors
Composable Functions
  • AndroidRemoteViews
  • CheckBox
  • CircleIconButton
  • CircularProgressIndicator
  • FilledButton
  • LazyColumn
  • LazyVerticalGrid
  • LinearProgressIndicator
  • OutlineButton
  • RadioButton
  • Scaffold
  • SquareIconButton
  • Switch
  • TitleBar
Classes
  • ActionCallbackBroadcastReceiver
  • ActionTrampolineActivity
  • CheckBoxColors
  • ExperimentalGlanceRemoteViewsApi
  • GlanceAppWidget
  • GlanceAppWidgetManager
  • GlanceAppWidgetReceiver
  • GlanceRemoteViews
  • GlanceRemoteViewsService
  • GridCells
  • InvisibleActionTrampolineActivity
  • LazyScopeMarker
  • MyPackageReplacedReceiver
  • RadioButtonColors
  • RemoteViewsCompositionResult
  • SwitchColors
  • UnmanagedSessionReceiver
Interfaces
  • ActionCallback
  • LazyItemScope
  • LazyListScope
  • LazyVerticalGridScope
  • PreviewSizeMode
  • SizeMode
Properties
  • LocalAppWidgetOptions
  • ToggleableStateKey
Functions
  • actionRunCallback
  • actionSendBroadcast
  • actionStartActivity
  • actionStartService
  • appWidgetBackground
  • background
  • compose
  • composeForPreview
  • cornerRadius
  • getAppWidgetState
  • ImageProvider
  • items
  • itemsIndexed
  • provideContent
  • runComposition
  • selectableGroup
  • setWidgetPreviews
  • updateAll
  • updateAppWidgetState
  • updateIf
Jetpack Compose › Jetpack Glance › Glance App Widget › GridCells
Class

GridCells

View Markdown Open in ChatGPT Open in Claude

Defines the number of columns of the GridView.

Android
public sealed class GridCells

Defines the number of columns of the GridView.

GlanceRemoteViewsService ← Previous InvisibleActionTrampolineActivity Next →
On this page
Sponsored By
RevenueCat Become a sponsor

Never miss a Compose release

Get an alert the moment a new Compose release is out: new APIs, new components, new things to experiment with. Straight from Google's servers.

Join 3,000+ Compose developers. No spam, ever.