bind

fun <T : Comparable<T>> RangeRole.bind(model: ConfinedValueModel<T>, interpolator: Interpolator<T>, labeler: (T) -> String? = null): Binding(source)

Creates a binding between the role and model, keeping the role synchronized with the given model


inline fun <T : Number, Comparable<T>> RangeRole.bind(model: ConfinedValueModel<T>, noinline labeler: (T) -> String? = null): Binding(source)

Deprecated

Use version w/ TypeConverter

Creates a binding between the role and model, keeping the role synchronized with the given model