语言

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)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于