Hey,
I need help with the slider position, I want to make it so that it will show the progress of the goal. It's a walking app, I want to make it so that if the goal is 10m then if you walk 10m the slider will be full, if you walk 5 it will be in the middle etc. I made it so that it would calculate the percent and it works perfectly it shows me the percentage of the goal, but I can't figure out how to move the slider by the percentage of the goal.
How I calculate the percentage of the goal: