---
title: "rememberPickerGroupState"
description: "Creates a [PickerGroupState] that is remembered across compositions."
type: "composable"
---

<div class='type'>Composable Function</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
@Composable
public fun rememberPickerGroupState(initiallySelectedIndex: Int = 0): PickerGroupState
```


Creates a `PickerGroupState` that is remembered across compositions.

#### Parameters

| | |
| --- | --- |
| initiallySelectedIndex | the picker index that will be initially focused |





