toggle menu
doodle
0.11.5
common
switch theme
search in API
controls
/
io.nacular.doodle.controls
/
invoke
invoke
operator
fun
<
T
>
ItemVisualizer
<
T
,
Any
>
.
invoke
(
item
:
T
,
previous
:
View
?
=
null
)
:
View
(
source
)
operator
fun
<
T
,
C
>
ItemVisualizer
<
String
,
C
>
.
invoke
(
mapper
:
(
T
)
->
String
=
{ "$it" }
)
:
ItemVisualizer
<
T
,
C
>
(
source
)
Visualizes a string representation of the item obtained from
mapper
.
Parameters
mapper
to convert the item to a string