Java android.widget ViewAnimator fields, constructors, methods, implement or subclass

Example usage for Java android.widget ViewAnimator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.widget ViewAnimator.

The text is from its open source code.

Subclass

android.widget.ViewAnimator has subclasses.
Click this link to see all its subclasses.

Method

ViewgetCurrentView()
Returns the View corresponding to the currently displayed child.
intgetDisplayedChild()
Returns the index of the currently displayed child view.
intindexOfChild(View child)
Returns the position in the group of the specified child view.
voidsetDisplayedChild(int whichChild)
Sets which child view will be displayed.
voidsetInAnimation(Context context, @AnimRes int resourceID)
Specifies the animation used to animate a View that enters the screen.
voidsetInAnimation(Animation inAnimation)
Specifies the animation used to animate a View that enters the screen.
voidsetOnClickListener(@Nullable OnClickListener l)
Register a callback to be invoked when this view is clicked.
voidsetOutAnimation(Context context, @AnimRes int resourceID)
Specifies the animation used to animate a View that exit the screen.
voidsetOutAnimation(Animation outAnimation)
Specifies the animation used to animate a View that exit the screen.
voidshowNext()
Manually shows the next child.
voidshowPrevious()
Manually shows the previous child.