Freigeben über


LayoutTransition.GetInterpolator(LayoutTransitionType) Method

Definition

Gets the interpolator on one of the animation objects used by this transition.

[Android.Runtime.Register("getInterpolator", "(I)Landroid/animation/TimeInterpolator;", "GetGetInterpolator_IHandler")]
public virtual Android.Animation.ITimeInterpolator? GetInterpolator (Android.Animation.LayoutTransitionType transitionType);
[<Android.Runtime.Register("getInterpolator", "(I)Landroid/animation/TimeInterpolator;", "GetGetInterpolator_IHandler")>]
abstract member GetInterpolator : Android.Animation.LayoutTransitionType -> Android.Animation.ITimeInterpolator
override this.GetInterpolator : Android.Animation.LayoutTransitionType -> Android.Animation.ITimeInterpolator

Parameters

transitionType
LayoutTransitionType

One of #CHANGE_APPEARING, #CHANGE_DISAPPEARING, #CHANGING, #APPEARING, or #DISAPPEARING, which determines the animation whose interpolator is being returned.

Returns

TimeInterpolator The interpolator that the specified animation uses.

Attributes

Remarks

Gets the interpolator on one of the animation objects used by this transition. The transitionType parameter determines the animation whose interpolator is returned.

Java documentation for android.animation.LayoutTransition.getInterpolator(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

See also