Udostępnij za pośrednictwem


GridLayoutAnimationController Constructors

Definition

Overloads

GridLayoutAnimationController(Animation)

Creates a new layout animation controller with a delay of 50% for both rows and columns and the specified animation.

GridLayoutAnimationController(Context, IAttributeSet)

Creates a new grid layout animation controller from external resources.

GridLayoutAnimationController(IntPtr, JniHandleOwnership)

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

GridLayoutAnimationController(Animation, Single, Single)

Creates a new layout animation controller with the specified delays and the specified animation.

GridLayoutAnimationController(Animation)

Creates a new layout animation controller with a delay of 50% for both rows and columns and the specified animation.

[Android.Runtime.Register(".ctor", "(Landroid/view/animation/Animation;)V", "")]
public GridLayoutAnimationController (Android.Views.Animations.Animation? animation);
[<Android.Runtime.Register(".ctor", "(Landroid/view/animation/Animation;)V", "")>]
new Android.Views.Animations.GridLayoutAnimationController : Android.Views.Animations.Animation -> Android.Views.Animations.GridLayoutAnimationController

Parameters

animation
Animation

the animation to use on each child of the view group

Attributes

Remarks

Creates a new layout animation controller with a delay of 50% for both rows and columns and the specified animation.

Java documentation for android.view.animation.GridLayoutAnimationController.GridLayoutAnimationController(android.view.animation.Animation).

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

GridLayoutAnimationController(Context, IAttributeSet)

Creates a new grid layout animation controller from external resources.

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

Parameters

context
Context

the Context the view group is running in, through which it can access the resources

attrs
IAttributeSet

the attributes of the XML tag that is inflating the layout animation controller

Attributes

Remarks

Creates a new grid layout animation controller from external resources.

Java documentation for android.view.animation.GridLayoutAnimationController.GridLayoutAnimationController(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

GridLayoutAnimationController(IntPtr, JniHandleOwnership)

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

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

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

GridLayoutAnimationController(Animation, Single, Single)

Creates a new layout animation controller with the specified delays and the specified animation.

[Android.Runtime.Register(".ctor", "(Landroid/view/animation/Animation;FF)V", "")]
public GridLayoutAnimationController (Android.Views.Animations.Animation? animation, float columnDelay, float rowDelay);
[<Android.Runtime.Register(".ctor", "(Landroid/view/animation/Animation;FF)V", "")>]
new Android.Views.Animations.GridLayoutAnimationController : Android.Views.Animations.Animation * single * single -> Android.Views.Animations.GridLayoutAnimationController

Parameters

animation
Animation

the animation to use on each child of the view group

columnDelay
Single

the delay by which each column animation must be offset

rowDelay
Single

the delay by which each row animation must be offset

Attributes

Remarks

Creates a new layout animation controller with the specified delays and the specified animation.

Java documentation for android.view.animation.GridLayoutAnimationController.GridLayoutAnimationController(android.view.animation.Animation, float, float).

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