AnimationUtils.LoadInterpolator(Context, Int32) Method

Definition

Loads an Interpolator object from a resource

[Android.Runtime.Register("loadInterpolator", "(Landroid/content/Context;I)Landroid/view/animation/Interpolator;", "")]
public static Android.Views.Animations.IInterpolator? LoadInterpolator (Android.Content.Context? context, int id);
[<Android.Runtime.Register("loadInterpolator", "(Landroid/content/Context;I)Landroid/view/animation/Interpolator;", "")>]
static member LoadInterpolator : Android.Content.Context * int -> Android.Views.Animations.IInterpolator

Parameters

context
Context

Application context used to access resources

id
Int32

The resource id of the animation to load

Returns

The interpolator object referenced by the specified id

Attributes

Exceptions

Remarks

Loads an Interpolator object from a resource

Java documentation for android.view.animation.AnimationUtils.loadInterpolator(android.content.Context, int).

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