Hi, I'm total newbie, sorry if the question may sound dumb, but I'm extending
View
and I'm assigning
root
to a
Slider
. How may I create a loop among the slider entries?
b
Brendan Campbell-hartzell
09/03/2021, 5:13 PM
As in, once it reaches a maximum value, it goes back to the minimum and vice versa?
Brendan Campbell-hartzell
09/03/2021, 5:15 PM
Add a custom value factory. You implement the decrement and increment methods, so you can add code to check the current value and loop back to whichever amount you'd like.