newBuilder

fun <N : Any> newBuilder(width: Int, values: List<N>): SelectorBuilder<N>

Creates a builder to configure and build a Selector.

Parameters

width

The width this Selector can take in its parent component (height will be 1).

values

The values to cycle through

N

The type of the values

Sources

(source)
Link copied to clipboard