SlidingList

data class SlidingList(val separator: String? = null, val direction: SlidingDirection = SlidingDirection.TOWARDS_START, val duration: Long = 3000, val repeat: Repeat = Repeat.Continuous, val onComplete: () -> Unit = {}) : ListDisplayStyle(source)

A sliding list style that moves the list of items in a specified direction.

Constructors

Link copied to clipboard
constructor(separator: String? = null, direction: SlidingDirection = SlidingDirection.TOWARDS_START, duration: Long = 3000, repeat: Repeat = Repeat.Continuous, onComplete: () -> Unit = {})

Properties

Link copied to clipboard

The direction in which the list slides (e.g., towards start).

Link copied to clipboard

Duration in milliseconds for the sliding animation.

Link copied to clipboard
val onComplete: () -> Unit

Callback invoked when the sliding animation completes.

Link copied to clipboard

Defines how often the sliding animation repeats.

Link copied to clipboard

Optional separator string displayed between list items.

Functions

Link copied to clipboard
open override fun toString(): String