animatedItemsIndexed

fun <T> LazyListScope.animatedItemsIndexed(items: List<T>, key: (index: Int, item: T) -> Any? = null, contentType: (index: Int, item: T) -> Any? = { _, _ -> null }, itemContent: @Composable LazyItemScope.(index: Int, item: T) -> Unit)(source)

animatedItems with each item's index.


fun <T> LazyGridScope.animatedItemsIndexed(items: List<T>, key: (index: Int, item: T) -> Any? = null, span: LazyGridItemSpanScope.(index: Int, item: T) -> GridItemSpan? = null, contentType: (index: Int, item: T) -> Any? = { _, _ -> null }, itemContent: @Composable LazyGridItemScope.(index: Int, item: T) -> Unit)(source)

animatedItems of a grid with each item's index.