The problem I have is that when the progress bar changes from 30% to 50%, for example, the progress bar restarts from the beginning, rather than going directly from 30% to 50%.
I am using a progressbar, and I am changing the value dynamically, so that when the value changes, it restarts from the beginning. How can I make it continuous?