public class CircularProgressViewAdapter extends java.lang.Object implements CircularProgressViewListener
| Constructor and Description |
|---|
CircularProgressViewAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onAnimationReset()
Called when resetAnimation() is called.
|
void |
onModeChanged(boolean isIndeterminate)
Called when you switch between indeterminate and determinate modes.
|
void |
onProgressUpdate(float currentProgress)
Called when setProgress(float currentProgress) is called (determinate only)
|
void |
onProgressUpdateEnd(float currentProgress)
Called when this view finishes animating to the updated progress.
|
public void onProgressUpdate(float currentProgress)
CircularProgressViewListeneronProgressUpdate in interface CircularProgressViewListenercurrentProgress - The progress that was set.public void onProgressUpdateEnd(float currentProgress)
CircularProgressViewListeneronProgressUpdateEnd in interface CircularProgressViewListenercurrentProgress - The progress that was set and this view has reached in its animation.public void onAnimationReset()
CircularProgressViewListeneronAnimationReset in interface CircularProgressViewListenerpublic void onModeChanged(boolean isIndeterminate)
CircularProgressViewListeneronModeChanged in interface CircularProgressViewListenerisIndeterminate - true if mode was set to indeterminate, false otherwise.