What does the 'indeterminate' mean in ProgressDialog?

AndroidDialogProgressdialog

Android Problem Overview


Maybe my English is poor but I really cannot figure out what the "indeterminate" means in this context:

Android Development → ProgressDialog.isIndeterminate()

Android Solutions


Solution 1 - Android

It means the "loading amount" is not measured.

Solution 2 - Android

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.

Solution 3 - Android

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).

Solution 4 - Android

In simple language we can say when the amount is not determined means we don't know how much it gonna be to be completed or loaded fully..!!

Solution 5 - Android

> Change the indeterminate mode for this ProgressDialog. In > indeterminate mode, the progress is ignored and the dialog shows an > infinite animation instead. > > Note: A ProgressDialog with style STYLE_SPINNER is always > indeterminate and will ignore this setting. > Blockquote

For illustration, the progress animation keep loading from left to right and then repeat automatically without user interaction(which setProgress) when indeterminate set to true.

Reference here.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionDavid S.View Question on Stackoverflow
Solution 1 - AndroidC.d.View Answer on Stackoverflow
Solution 2 - AndroidJimView Answer on Stackoverflow
Solution 3 - AndroidAnushaView Answer on Stackoverflow
Solution 4 - AndroidGurjitView Answer on Stackoverflow
Solution 5 - Android林果皞View Answer on Stackoverflow