public class ViewPropertyAnimatorListenerAdapter
extends Object implements ViewPropertyAnimatorListener
| java.lang.Object | |
| ↳ | android.support.v4.view.ViewPropertyAnimatorListenerAdapter |
此适配器类提供了ViewPropertyAnimatorListener中的方法的空白实现。 任何只关心此侦听器方法子集的自定义侦听器都可以简单地继承这个适配器类,而不是直接实现接口。
Public constructors |
|
|---|---|
ViewPropertyAnimatorListenerAdapter() |
|
Public methods |
|
|---|---|
void |
onAnimationCancel(View view) 通知取消动画。 |
void |
onAnimationEnd(View view) 通知动画结束。 |
void |
onAnimationStart(View view) 通知动画的开始。 |
Inherited methods |
|
|---|---|
java.lang.Object
|
|
android.support.v4.view.ViewPropertyAnimatorListener
|
|
ViewPropertyAnimatorListenerAdapter ()
void onAnimationCancel (View view)
Notifies the cancellation of the animation. This callback is not invoked for animations with repeat count set to INFINITE.
| Parameters | |
|---|---|
view |
View: The view associated with the ViewPropertyAnimator |
void onAnimationEnd (View view)
通知动画结束。 对于重复次数设置为INFINITE的动画,不会调用此回调。
| Parameters | |
|---|---|
view |
View: The view associated with the ViewPropertyAnimator |
void onAnimationStart (View view)
通知动画的开始。
| Parameters | |
|---|---|
view |
View: The view associated with the ViewPropertyAnimator |