Most visited

Recently visited

ViewPropertyAnimatorListenerAdapter

public class ViewPropertyAnimatorListenerAdapter
extends Object implements ViewPropertyAnimatorListener

java.lang.Object
   ↳ android.support.v4.view.ViewPropertyAnimatorListenerAdapter


此适配器类提供了ViewPropertyAnimatorListener中的方法的空白实现。 任何只关心此侦听器方法子集的自定义侦听器都可以简单地继承这个适配器类,而不是直接实现接口。

Summary

Public constructors

ViewPropertyAnimatorListenerAdapter()

Public methods

void onAnimationCancel(View view)

通知取消动画。

void onAnimationEnd(View view)

通知动画结束。

void onAnimationStart(View view)

通知动画的开始。

Inherited methods

From class java.lang.Object
From interface android.support.v4.view.ViewPropertyAnimatorListener

Public constructors

ViewPropertyAnimatorListenerAdapter

ViewPropertyAnimatorListenerAdapter ()

Public methods

onAnimationCancel

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

onAnimationEnd

void onAnimationEnd (View view)

通知动画结束。 对于重复次数设置为INFINITE的动画,不会调用此回调。

Parameters
view View: The view associated with the ViewPropertyAnimator

onAnimationStart

void onAnimationStart (View view)

通知动画的开始。

Parameters
view View: The view associated with the ViewPropertyAnimator

Hooray!