Share via


LayoutTransition.SetInterpolator Method

Definition

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

[Android.Runtime.Register("setInterpolator", "(ILandroid/animation/TimeInterpolator;)V", "GetSetInterpolator_ILandroid_animation_TimeInterpolator_Handler")]
public virtual void SetInterpolator (Android.Animation.LayoutTransitionType transitionType, Android.Animation.ITimeInterpolator? interpolator);
[<Android.Runtime.Register("setInterpolator", "(ILandroid/animation/TimeInterpolator;)V", "GetSetInterpolator_ILandroid_animation_TimeInterpolator_Handler")>]
abstract member SetInterpolator : Android.Animation.LayoutTransitionType * Android.Animation.ITimeInterpolator -> unit
override this.SetInterpolator : Android.Animation.LayoutTransitionType * Android.Animation.ITimeInterpolator -> unit

Parameters

transitionType
LayoutTransitionType

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

interpolator
ITimeInterpolator

The interpolator that the specified animation should use.

Attributes

Remarks

Sets the interpolator on one of the animation objects used by this transition. The transitionType parameter determines the animation whose interpolator is being set.

Java documentation for android.animation.LayoutTransition.setInterpolator(int, android.animation.TimeInterpolator).

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