语言

AbsListView.SmoothScrollToPosition 方法

定义

重载

名称 说明
SmoothScrollToPosition(Int32)

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

SmoothScrollToPosition(Int32, Int32)

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

SmoothScrollToPosition(Int32)

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

[Android.Runtime.Register("smoothScrollToPosition", "(I)V", "GetSmoothScrollToPosition_IHandler")]
public virtual void SmoothScrollToPosition(int position);
[<Android.Runtime.Register("smoothScrollToPosition", "(I)V", "GetSmoothScrollToPosition_IHandler")>]
abstract member SmoothScrollToPosition : int -> unit
override this.SmoothScrollToPosition : int -> unit

参数

position
Int32

滚动到此适配器位置。

特性

注解

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

Java文档android.widget.AbsListView.smoothScrollToPosition(int)。

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

适用于

SmoothScrollToPosition(Int32, Int32)

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

[Android.Runtime.Register("smoothScrollToPosition", "(II)V", "GetSmoothScrollToPosition_IIHandler")]
public virtual void SmoothScrollToPosition(int position, int boundPosition);
[<Android.Runtime.Register("smoothScrollToPosition", "(II)V", "GetSmoothScrollToPosition_IIHandler")>]
abstract member SmoothScrollToPosition : int * int -> unit
override this.SmoothScrollToPosition : int * int -> unit

参数

position
Int32

滚动到此适配器位置。

boundPosition
Int32

如果将此适配器位置移出视图,请不要滚动。

特性

注解

顺利滚动到指定的适配器位置。 视图将滚动,以便显示所指示的位置,但如果进一步滚动会使 boundPosition 退出视图,它将提前停止。

Java文档android.widget.AbsListView.smoothScrollToPosition(int, int)。

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

适用于