Android Guides | Samples

Android.Widget.ViewFlipper Class

Simple ViewAnimator that will animate between two or more views that have been added to it.

See Also: ViewFlipper

Syntax

[Android.Runtime.Register("android/widget/ViewFlipper", DoNotGenerateAcw=true)]
public class ViewFlipper : ViewAnimator

Remarks

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.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Widget.ViewFlipper are listed below.

See Also: ViewAnimator

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

AutoStartBoolean. Returns true if this view automatically calls ViewFlipper.StartFlipping when it becomes attached to a window.
[read-only]
IsFlippingBoolean. Returns true if the child views are flipping.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

SetFlipInterval(Int32)
How long to wait before flipping to the next view
StartFlipping()
Start a timer to cycle through child views
StopFlipping()
No more flips