//tvlib/org.mjdev.tvlib.ui.components.carousel/CarouselDefaults
[androidJvm]\ object CarouselDefaults
| Name | Summary |
|---|---|
| KeyEventPropagation | [androidJvm] object KeyEventPropagation |
| NoOpScrollPauseHandle | [androidJvm] object NoOpScrollPauseHandle : CarouselDefaults.ScrollPauseHandle |
| ScrollPauseHandle | [androidJvm] interface ScrollPauseHandle |
| ScrollPauseHandleImpl | [androidJvm] class ScrollPauseHandleImpl(carouselState: CarouselState) : CarouselDefaults.ScrollPauseHandle |
| Name | Summary |
|---|---|
| CarouselStateUpdater | [androidJvm] @Composable fun CarouselStateUpdater(carouselState: CarouselState, itemCount: Int) |
| equals | [androidJvm] open operator fun equals(other: Any?): Boolean |
| hashCode | [androidJvm] open fun hashCode(): Int |
| IndicatorRow | [androidJvm] @Composable fun IndicatorRow(itemCount: Int, activeItemIndex: Int, modifier: Modifier = Modifier, spacing: Dp = 8.dp, indicator: @Composable(isActive: Boolean) -> Unit = { isActive -> val activeColor = Color.White val inactiveColor = activeColor.copy(alpha = 0.3f) Box( modifier = Modifier .size(8.dp) .background( color = if (isActive) activeColor else inactiveColor, shape = CircleShape, ), ) }) |
| onAnimationCompletion | [androidJvm] suspend fun AnimatedVisibilityScope.onAnimationCompletion(action: suspend () -> Unit) |
| shouldPerformAutoScroll | [androidJvm] fun shouldPerformAutoScroll(focusState: FocusState?, accessibilityManager: AccessibilityManager): Boolean |
| toString | [androidJvm] open fun toString(): String |
| Name | Summary |
|---|---|
| contentTransform | [androidJvm] @get:Composable val contentTransform: ContentTransform |
| TimeToDisplayItemMillis | [androidJvm] const val TimeToDisplayItemMillis: Long = 5000 |