Package-level declarations

CSNumberPicker — a picker wheel exposing selection as a CSProperty<Int> (index) and a scroll event, with load(data, selected), two-way index(property) binding, and min/max/circulate configuration.

Types

Link copied to clipboard
class CSNumberPicker @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : NumberPicker

Number picker wheel view.

Functions

Link copied to clipboard
fun <T : NumberPicker> T.circulate(circulate: Boolean): T
Link copied to clipboard
fun <T : NumberPicker> T.disableTextEditing(disable: Boolean): T
Link copied to clipboard
Link copied to clipboard
fun <Row : Any> CSNumberPicker.load(data: List<Row>, selected: Row? = null): CSNumberPicker
fun <Row : Any> CSNumberPicker.load(data: List<Row>, selected: Int = 0): CSNumberPicker
Link copied to clipboard
fun <T : NumberPicker> T.max(value: Int): T
Link copied to clipboard
fun <T : NumberPicker> T.min(value: Int): T
Link copied to clipboard