mosaic
Toggle table of contents
0.22.0
common
Target filter
common
Switch theme
Search in API
Skip to content
mosaic
mosaic-runtime
/
org.unitedsoftware.mosaic.ui
/
itemsIndexed
items
Indexed
inline
fun
<
T
>
LazyListScope
.
itemsIndexed
(
items
:
List
<
T
>
,
noinline
key
:
(
index
:
Int
,
item
:
T
)
->
Any
?
=
null
,
crossinline
itemContent
:
@
Composable
(
index
:
Int
,
item
:
T
)
->
Unit
)
Adds an item for each of
items
, passing its index as well.