AnimationSet Constructors

Definition

Overloads

AnimationSet(Boolean)

Constructor to use when building an AnimationSet from code

AnimationSet(Context, IAttributeSet)

Constructor used when an AnimationSet is loaded from a resource.

AnimationSet(IntPtr, JniHandleOwnership)

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

AnimationSet(Boolean)

Constructor to use when building an AnimationSet from code

[Android.Runtime.Register(".ctor", "(Z)V", "")]
public AnimationSet (bool shareInterpolator);
[<Android.Runtime.Register(".ctor", "(Z)V", "")>]
new Android.Views.Animations.AnimationSet : bool -> Android.Views.Animations.AnimationSet

Parameters

shareInterpolator
Boolean

Pass true if all of the animations in this set should use the interpolator associated with this AnimationSet. Pass false if each animation should use its own interpolator.

Attributes

Remarks

Constructor to use when building an AnimationSet from code

Java documentation for android.view.animation.AnimationSet.AnimationSet(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

AnimationSet(Context, IAttributeSet)

Constructor used when an AnimationSet is loaded from a resource.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public AnimationSet (Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Views.Animations.AnimationSet : Android.Content.Context * Android.Util.IAttributeSet -> Android.Views.Animations.AnimationSet

Parameters

context
Context

Application context to use

attrs
IAttributeSet

Attribute set from which to read values

Attributes

Remarks

Constructor used when an AnimationSet is loaded from a resource.

Java documentation for android.view.animation.AnimationSet.AnimationSet(android.content.Context, android.util.AttributeSet).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

AnimationSet(IntPtr, JniHandleOwnership)

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

protected AnimationSet (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.Animations.AnimationSet : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.Animations.AnimationSet

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to