Condividi tramite


LayoutAnimationController.GetDelayForView(View) Method

Definition

Returns the amount of milliseconds by which the specified view's animation must be delayed or offset.

[Android.Runtime.Register("getDelayForView", "(Landroid/view/View;)J", "GetGetDelayForView_Landroid_view_View_Handler")]
protected virtual long GetDelayForView (Android.Views.View? view);
[<Android.Runtime.Register("getDelayForView", "(Landroid/view/View;)J", "GetGetDelayForView_Landroid_view_View_Handler")>]
abstract member GetDelayForView : Android.Views.View -> int64
override this.GetDelayForView : Android.Views.View -> int64

Parameters

view
View

the view for which to obtain the animation's delay

Returns

a delay in milliseconds

Attributes

Remarks

Returns the amount of milliseconds by which the specified view's animation must be delayed or offset. Subclasses should override this method to return a suitable value.

This implementation returns child animation delay milliseconds where:

child animation delay = child index * delay

The index is retrieved from the android.view.animation.LayoutAnimationController.AnimationParameters found in the view's android.view.ViewGroup.LayoutParams.

Java documentation for android.view.animation.LayoutAnimationController.getDelayForView(android.view.View).

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

See also