public static interface Animator.StateChangedListener
This class allows a notification to be received when an animator is paused or resumed.
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onCancel(Animator animator) |
Receives a notification indicating that an animator has been canceled.
|
void |
onEnd(Animator animator) |
Receives a notification indicating that an animator has ended.
|
void |
onPause(Animator animator) |
Receives a notification indicating that an animator is paused.
|
void |
onResume(Animator animator) |
Receives a notification indicating that an animator is resumed.
|
void |
onStart(Animator animator) |
Receives a notification indicating that an animator has started.
|
void |
onStop(Animator animator) |
Receives a notification indicating that an animator has stopped.
|
void onStart(Animator animator)
animator - Indicates the started animator.Animator.start()void onStop(Animator animator)
onEnd and onCancel methods.animator - Indicates the stopped animator.Animator.stop()void onCancel(Animator animator)
animator - Indicates the canceled animator.Animator.cancel()void onEnd(Animator animator)
animator - Indicates the ended animator.Animator.end()void onPause(Animator animator)
animator - Indicates the paused animator.Animator.pause()void onResume(Animator animator)
animator - Indicates the resumed animator.Animator.resume()