public static interface ProgressBar.BarObserver
The onBarChanged(int, int, int) method is called each time the progress bar changes.
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onBarChanged(int before,
int after,
int count) |
Called when the progress bar changes.
|
void onBarChanged(int before,
int after,
int count)
For example, if the verification progress moves from 0 to 20,
then the value of before is 0, the value of after is 20,
and the value of count is 20.
before - Indicates the previous position in the progress bar.after - Indicates the current position in the progress bar.count - Indicates the difference between the previous position and the current position.