Android Guides | Samples

Android.Widget.AdapterViewAnimator Class

Base class for a AdapterView that will perform animations when switching between its views.

See Also: AdapterViewAnimator

Syntax

[Android.Runtime.Register("android/widget/AdapterViewAnimator", DoNotGenerateAcw=true)]
public abstract class AdapterViewAnimator : AdapterView, IAdvanceable, IDisposable

Remarks

Base class for a AdapterView that will perform animations when switching between its views.

[Android Documentation]

Requirements

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

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

See Also: AdapterView

Public Constructors

Protected Constructors

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

Public Properties

AdapterIAdapter. Returns the adapter currently associated with this widget.
[read-only]
CurrentViewView. Returns the View corresponding to the currently displayed child.
DisplayedChildInt32. Returns the index of the currently displayed child view.
InAnimationObjectAnimator. Returns the current animation used to animate a View that enters the screen.
OutAnimationObjectAnimator. Returns the current animation used to animate a View that exits the screen.
[read-only]
override
SelectedViewView.

Protected Properties

override
RawAdapterObject.
[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

Advance()
Called by an AppWidgetHost in order to advance the current view when it is being used within an app widget.
DeferNotifyDataSetChanged()
This defers a notifyDataSetChanged on the pending RemoteViewsAdapter if it has not connected yet.
FyiWillBeAdvancedByHostKThx()
Called by an AppWidgetHost to indicate that it will be automatically advancing the views of this AdapterViewAnimator by calling AdapterViewAnimator.Advance at some point in the future.
OnRemoteAdapterConnected() : Boolean
Called back when the adapter connects to the RemoteViewsService.
OnRemoteAdapterDisconnected()
Called back when the adapter disconnects from the RemoteViewsService.
OnRestoreInstanceState(IParcelable)
Hook allowing a view to re-apply a representation of its internal state that had previously been generated by View.OnSaveInstanceState.
OnSaveInstanceState() : IParcelable
Hook allowing a view to generate a representation of its internal state that can later be used to create a new instance with that same state.
SetAnimateFirstView(Boolean)
Indicates whether the current View should be animated the first time the ViewAnimation is displayed.
SetInAnimation(Context, Int32)
Specifies the animation used to animate a View that enters the screen.
SetOutAnimation(Context, Int32)
Specifies the animation used to animate a View that exit the screen.
SetRemoteViewsAdapter(Intent)
Sets up this AdapterViewAnimator to use a remote views adapter which connects to a RemoteViewsService through the specified intent.
override
SetSelection(Int32)
Sets the currently selected item.
ShowNext()
Manually shows the next child.
ShowPrevious()
Manually shows the previous child.