语言

ListView.SmoothScrollByOffset(Int32) 方法

定义

顺利滚动到指定的适配器位置偏移量。

[Android.Runtime.Register("smoothScrollByOffset", "(I)V", "GetSmoothScrollByOffset_IHandler")]
public virtual void SmoothScrollByOffset(int offset);
[<Android.Runtime.Register("smoothScrollByOffset", "(I)V", "GetSmoothScrollByOffset_IHandler")>]
abstract member SmoothScrollByOffset : int -> unit
override this.SmoothScrollByOffset : int -> unit

参数

offset
Int32

要滚动到的适配器位置偏移量。

属性

注解

顺利滚动到指定的适配器位置偏移量。 视图将滚动,以便显示指示的位置。

Java文档android.widget.ListView.smoothScrollByOffset(int)。

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

适用于