Example usage for Java android.widget ViewAnimator fields, constructors, methods, implement or subclass
The text is from its open source code.
View | getCurrentView() Returns the View corresponding to the currently displayed child. |
int | getDisplayedChild() Returns the index of the currently displayed child view. |
int | indexOfChild(View child) Returns the position in the group of the specified child view. |
void | setDisplayedChild(int whichChild) Sets which child view will be displayed. |
void | setInAnimation(Context context, @AnimRes int resourceID) Specifies the animation used to animate a View that enters the screen. |
void | setInAnimation(Animation inAnimation) Specifies the animation used to animate a View that enters the screen. |
void | setOnClickListener(@Nullable OnClickListener l) Register a callback to be invoked when this view is clicked. |
void | setOutAnimation(Context context, @AnimRes int resourceID) Specifies the animation used to animate a View that exit the screen. |
void | setOutAnimation(Animation outAnimation) Specifies the animation used to animate a View that exit the screen. |
void | showNext() Manually shows the next child. |
void | showPrevious() Manually shows the previous child. |