What does "undefined" mean in a ProgressDialog?

My English may be bad, but I really can't understand what “undefined” means in this context:

Android Development → ProgressDialog.isIndeterminate()

+74
android dialog progressdialog
Mar 02 2018-12-12T00:
source share
5 answers

This means that the "load value" is not measured.

+134
02 Mar. 2018-12-12T00:
source share

From the Victoria: Uncertain: not defined or determined exactly. This basically means that you don’t know how long the action will take, so you can’t say, for example, something is done at 50%.

This usually means that progress will be displayed as a constantly moving loading bar, not a percentage or the like.

+32
Mar 02 '12 at 10:13
source share

Basically, when setProgressStyle(ProgressDialoge.STYLE_SPINNER) is taken, then setIndeterminate() will be true because a circle(Spinner) will rotate, which indicates that "I don't know how long it will take." When we take ProgressStyle(ProgressDialoge.STYLE_HORIZANTAL) , we take setIndeterminate() as false, since it takes a value / percentage value, for example, how many percent it was filled with setProgress(value) .

+11
Apr 01 '14 at 10:26
source share

In simple language, we can say when the amount is not determined, which means we do not know how much it will be ready or fully loaded. !!

+2
Jan 04 '14 at 2:02 on
source share

Change the undefined mode for this ProgressDialog. In indefinite mode, progress is ignored, and endless animation is displayed in the dialog box instead.

Note: ProgressDialog with style STYLE_SPINNER is always undefined and will ignore this setting. Blockquote

To illustrate, the progress animation continues to load from left to right, and then automatically repeats without user interaction (which is set to Progress) when indeterminate set to true .

Link here .

0
Nov 01 '17 at 7:07
source share



All Articles