The Google Glass Explorer Edition SDK is deprecated. This documentation is no longer being maintained. If you're interested in developing Glass solutions for enterprise clients, visit the Google Glass Enterprise Edition developer documentation.

Slider.Indeterminate

Added in API level XE22

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
abstract void
hide()
abstract void
show()

Public Methods

Added in API level XE22

public abstract void hide ()

Hides the indeterminate slider, if not hidden already.

Added in API level XE22

public abstract void show ()

Shows the indeterminate slider, if not visible already.