How to increase DonutProgress/CircleProgress when pressing toggleButton in Android Studio : I am new in android studio and I have this project that is about tutorials. I am creating an app for tutorials and each tutorial has a toggleButton. When the toggleButton is checked(true), the DonutProgress/CircleProgress, in the main menu of the app, should increase/increment its progress and the value in percentage that's inside the donut/circle and vice-versa(when unchecked(false) it will decrease/decrement. What methods in should I use and algorithm for the increase when toggleButton when checked(true)?

[Sample of DonutProgress/CircleProgress][1]


  [1]: https://i.stack.imgur.com/sAC8C.png