What does the 'indeterminate' mean in ProgressDialog?
From wiktionary:Indeterminate: Not accurately determined or determinable.It basically just means you're unsure how long the action will take so you cannot say for example something is 50% done.
This normally just means the progress will be displayed as a constantly moving loading bar rather than a percentage or the like.
Basically when setProgressStyle(ProgressDialoge.STYLE_SPINNER)
is taken then setIndeterminate()
will be true because a circle(Spinner)
will rotate, which shows that "do not know how much time it is going to take". When take ProgressStyle(ProgressDialoge.STYLE_HORIZANTAL)
we will take setIndeterminate()
as false since it take a value/percentage bar like how much percentage it was completed with setProgress(value)
.