LayoutAnimationController.GetDelayForView(View) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳指定視角動畫必須延遲或偏移的毫秒數。
[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 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
另請參閱
- GetAnimationForView(View)
- Delay
- <xref:Android.Views.Animations.LayoutAnimationController.GetTransformedIndex(.AnimationParameters)>