onValueChange

abstract fun onValueChange(@NonNull slider: S, value: Float, fromUser: Boolean)

Called when the value of the slider changes.