toggle menu
micro_utils.dokka
0.23.0
android
switch theme
search in API
micro_utils.dokka
/
dev.inmo.micro_utils.android.pickers
Package-level
declarations
Functions
Functions
Number
Picker
Link copied to clipboard
android
@
Composable
fun
NumberPicker
(
number
:
Int
,
modifier
:
Modifier
=
Modifier
,
range
:
IntRange
?
=
null
,
textStyle
:
TextStyle
=
LocalTextStyle.current
,
arrowsColor
:
Color
=
MaterialTheme.colorScheme.primary
,
allowUseManualInput
:
Boolean
=
true
,
onStateChanged
:
(
Int
)
->
Unit
=
{}
)
Set
Picker
Link copied to clipboard
android
@
Composable
fun
<
T
>
SetPicker
(
current
:
T
,
dataList
:
List
<
T
>
,
modifier
:
Modifier
=
Modifier
,
textStyle
:
TextStyle
=
LocalTextStyle.current
,
arrowsColor
:
Color
=
MaterialTheme.colorScheme.primary
,
dataToString
:
@
Composable
(
T
)
->
String
=
{ it.toString() }
,
onStateChanged
:
(
T
)
->
Unit
=
{}
)