I'm using Progress Bars to show information in my app, which are initially drawn fine using code like this:
ProgressBar exampleProgressBar = (ProgressBar) findViewById(R.id.progressBarExampleID);
exampleProgressBar.setMax(exampleMaxValue);
exampleProgressBar.setProgress(exampleProgressValue);
I then want the user to be able to input information, click a button to save, and then the application to use that information to edit the text above it and set the Progress Bar to a new position.
When the user clicks the button, the same method as before is run but with new variables. The strange thing is that sometimes it updates the Progress Bar but most of the time it just stays in the same position. The text changes every time no problem.
Does anyone have any ideas as to what might be causing this?