LayoutAnimationController.GetDelayForView(View) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.
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
- GetAnimationForView(View)
- Delay
- <xref:Android.Views.Animations.LayoutAnimationController.GetTransformedIndex(.AnimationParameters)>