Added in API level 1

ViewFlipper


open class ViewFlipper : ViewAnimator
kotlin.Any
   ↳ android.view.View
   ↳ android.view.ViewGroup
   ↳ android.widget.FrameLayout
   ↳ android.widget.ViewAnimator
   ↳ android.widget.ViewFlipper

Simple ViewAnimator that will animate between two or more views that have been added to it. Only one child is shown at a time. If requested, can automatically flip between each child at a regular interval.

Summary

XML attributes
android:autoStart When true, automatically start animating.
android:flipInterval
Inherited XML attributes
Inherited constants
Public constructors
ViewFlipper(context: Context!)

ViewFlipper(context: Context!, attrs: AttributeSet!)

Public methods
open CharSequence!

open Int

Get the delay before flipping to the next view.

open Boolean

Returns true if this view automatically calls startFlipping() when it becomes attached to a window.

open Boolean

Returns true if the child views are flipping.

open Unit
setAutoStart(autoStart: Boolean)

Set if this view automatically calls startFlipping() when it becomes attached to a window.

open Unit
setFlipInterval(milliseconds: Int)

How long to wait before flipping to the next view

open Unit

Start a timer to cycle through child views

open Unit

No more flips

Protected methods
open Unit

open Unit

open Unit

Inherited functions