語言

AbsListView.SmoothScrollBy(Int32, Int32) 方法

定義

順暢地依照像素長度在毫秒內滾動。

[Android.Runtime.Register("smoothScrollBy", "(II)V", "GetSmoothScrollBy_IIHandler")]
public virtual void SmoothScrollBy(int distance, int duration);
[<Android.Runtime.Register("smoothScrollBy", "(II)V", "GetSmoothScrollBy_IIHandler")>]
abstract member SmoothScrollBy : int * int -> unit
override this.SmoothScrollBy : int * int -> unit

參數

distance
Int32

以像素為單位的滾動距離。

duration
Int32

捲軸動畫的持續時間以毫秒計。

屬性

備註

順暢地依照像素長度在毫秒內滾動。

Java 文件 android.widget.AbsListView.smoothScrollBy(int, int)。

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

適用於