Page Summary
-
The indeterminate slider is added in API level XE22 and indicates ongoing, unknown progress through continuous animation.
-
Clients are responsible for managing the visibility of the indeterminate slider.
-
The sample usage demonstrates how to start an indeterminate slider and then hide it.
-
The public methods
hide()andshow()are used to control the visibility of the indeterminate slider.
An indeterminate slider that animates continuously to indicate ongoing but otherwise unknown progress. Remains visible until hidden. Clients are responsible for hiding and possibly re-showing the slider at proper points in the owning context' life-cycle.
Sample usage:
Indeterminate slider = Slider.from(view).startIndeterminate(); // do something while animation is ongoing slider.hide();
Public Methods
public abstract void hide ()
Hides the indeterminate slider, if not hidden already.
public abstract void show ()
Shows the indeterminate slider, if not visible already.