語言

RemoteViews.SetScrollPosition(Int32, Int32) 方法

定義

等同於呼叫 ListView#smoothScrollToPosition(int)。

[Android.Runtime.Register("setScrollPosition", "(II)V", "GetSetScrollPosition_IIHandler")]
public virtual void SetScrollPosition(int viewId, int position);
[<Android.Runtime.Register("setScrollPosition", "(II)V", "GetSetScrollPosition_IIHandler")>]
abstract member SetScrollPosition : int * int -> unit
override this.SetScrollPosition : int * int -> unit

參數

viewId
Int32

視角的本我可改變

position
Int32

捲動到這個轉接器位置

屬性

備註

Java 文件 android.widget.RemoteViews.setScrollPosition(int, int)。

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

適用於