public interface ProgressAny
Modifier and Type | Interface and Description |
---|---|
static interface |
ProgressAny.OnChangeListener |
Modifier and Type | Method and Description |
---|---|
int |
getMax()
Return the upper limit of this progress any's range.
|
int |
getProgress()
Get the progress any's current level of progress.
|
int |
getSecondaryProgress()
Get the progress any's current level of secondary progress.
|
void |
setEnabled(boolean enabled) |
void |
setMax(int max)
Set the range of the progress any to (0-max)
|
void |
setOnChangeListener(ProgressAny.OnChangeListener onChangeListener) |
void |
setProgress(int progress)
Sets the current progress to the specified value.
|
void |
setSecondaryProgress(int secondaryProgress)
Set the current secondary progress to the specified value.
|
void setEnabled(boolean enabled)
View.isEnabled()
int getProgress()
void setProgress(int progress)
progress
- the new progress, between 0 and getMax()
int getSecondaryProgress()
void setSecondaryProgress(int secondaryProgress)
secondaryProgress
- the new secondary progress, between 0 and getMax()
int getMax()
void setMax(int max)
max
- the upper range of this progress anyvoid setOnChangeListener(ProgressAny.OnChangeListener onChangeListener)