共用方式為


View.DispatchWindowInsetsAnimationPrepare(WindowInsetsAnimation) Method

Definition

Dispatches WindowInsetsAnimation.Callback#onPrepare(WindowInsetsAnimation) when Window Insets animation is being prepared.

[Android.Runtime.Register("dispatchWindowInsetsAnimationPrepare", "(Landroid/view/WindowInsetsAnimation;)V", "GetDispatchWindowInsetsAnimationPrepare_Landroid_view_WindowInsetsAnimation_Handler", ApiSince=30)]
public virtual void DispatchWindowInsetsAnimationPrepare (Android.Views.WindowInsetsAnimation animation);
[<Android.Runtime.Register("dispatchWindowInsetsAnimationPrepare", "(Landroid/view/WindowInsetsAnimation;)V", "GetDispatchWindowInsetsAnimationPrepare_Landroid_view_WindowInsetsAnimation_Handler", ApiSince=30)>]
abstract member DispatchWindowInsetsAnimationPrepare : Android.Views.WindowInsetsAnimation -> unit
override this.DispatchWindowInsetsAnimationPrepare : Android.Views.WindowInsetsAnimation -> unit

Parameters

animation
WindowInsetsAnimation

current animation

Attributes

Remarks

Dispatches WindowInsetsAnimation.Callback#onPrepare(WindowInsetsAnimation) when Window Insets animation is being prepared.

Java documentation for android.view.View.dispatchWindowInsetsAnimationPrepare(android.view.WindowInsetsAnimation).

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