語言

LayoutAnimationController.GetDelayForView(View) 方法

定義

回傳指定視角動畫必須延遲或偏移的毫秒數。

[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

參數

view
View

用於取得動畫延遲的視角

傳回

以毫秒為單位的延遲

屬性

備註

回傳指定視角動畫必須延遲或偏移的毫秒數。 子類別應覆寫此方法以回傳適當的值。

此實作回傳 child animation delay 毫秒,其中:

child animation delay = child index * delay

索引可從 android.view.animation.LayoutAnimationController.AnimationParameters 視圖 android.view.ViewGroup.LayoutParams中找到的 取得。

Java 文件 android.view.animation.LayoutAnimationController.getDelayForView(android.view.View)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

另請參閱