interface MotionCarouselScope


Summary

Public functions

Unit
items(count: Int, itemContent: @Composable (index: Int) -> Unit)
Unit
itemsWithProperties(
    count: Int,
    itemContent: @Composable (index: Int, properties: State<MotionLayoutScope.MotionProperties>) -> Unit
)

Extension functions

inline Unit
<T : Any?> MotionCarouselScope.items(
    items: List<T>,
    crossinline itemContent: @Composable (item) -> Unit
)
inline Unit
<T : Any?> MotionCarouselScope.itemsWithProperties(
    items: List<T>,
    crossinline itemContent: @Composable (item, properties: State<MotionLayoutScope.MotionProperties>) -> Unit
)

Public functions

items

Added in 1.1.0
fun items(count: Int, itemContent: @Composable (index: Int) -> Unit): Unit

itemsWithProperties

Added in 1.1.0
fun itemsWithProperties(
    count: Int,
    itemContent: @Composable (index: Int, properties: State<MotionLayoutScope.MotionProperties>) -> Unit
): Unit

Extension functions

inline fun <T : Any?> MotionCarouselScope.items(
    items: List<T>,
    crossinline itemContent: @Composable (item) -> Unit
): Unit
inline fun <T : Any?> MotionCarouselScope.itemsWithProperties(
    items: List<T>,
    crossinline itemContent: @Composable (item, properties: State<MotionLayoutScope.MotionProperties>) -> Unit
): Unit