Composable Function

rememberPickerGroupState

Creates a PickerGroupState that is remembered across compositions.

rememberPickerGroupState

Source set: Android
@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
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: