rememberPickerState
Functions summary
PickerState |
@ComposableCreates a |
Functions
rememberPickerState
@Composable
fun rememberPickerState(
initialNumberOfOptions: @IntRange(from = 1) Int,
initiallySelectedIndex: @IntRange(from = 0) Int = 0,
shouldRepeatOptions: Boolean = true
): PickerState
Creates a PickerState that is remembered across compositions.