Add a way that prevents the progress from going below a specified min value.
Something similar to this:
var progress = 0f
set(value) {
field = if (value >= max) max
else if (values <= min) min
else value
updateProgressView()
onProgressChangeListener?.onChange(field)
}
Add a way that prevents the progress from going below a specified
min
value.Something similar to this: