語言

LauncherActivity.ItemForPosition(Int32) 方法

定義

在我們的 ListView 中回傳特定位置的 ListItem 。

[Android.Runtime.Register("itemForPosition", "(I)Landroid/app/LauncherActivity$ListItem;", "GetItemForPosition_IHandler")]
protected virtual Android.App.LauncherActivity.ListItem? ItemForPosition(int position);
[<Android.Runtime.Register("itemForPosition", "(I)Landroid/app/LauncherActivity$ListItem;", "GetItemForPosition_IHandler")>]
abstract member ItemForPosition : int -> Android.App.LauncherActivity.ListItem
override this.ItemForPosition : int -> Android.App.LauncherActivity.ListItem

參數

position
Int32

int:要歸還的物品

傳回

屬性

備註

在我們的 ListView 中回傳特定位置的 ListItem 。

Android 參考資料。android.app.LauncherActivity.itemForPosition

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

適用於