AbsListView.SmoothScrollBy(Int32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在持续时间毫秒内按距离像素平滑滚动。
[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)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。