ComposePreferences
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
ComposePreferences
list
/
com.michaelflisar.composepreferences.screen.list
/
PreferenceMultiListDefaults
/
dialog
dialog
@
Composable
fun
<
T
>
dialog
(
dialogState
:
DialogState
,
value
:
List
<
T
>
,
onValueChange
:
(
value
:
List
<
T
>
)
->
Unit
,
items
:
List
<
T
>
,
itemTextProvider
:
@
Composable
(
item
:
T
)
->
String
=
{ it.toString() }
,
itemIconProvider
:
@
Composable
(
item
:
T
)
->
Unit
?
=
null
,
title
:
String
,
icon
:
@
Composable
(
)
->
Unit
?
=
null
)