LauncherActivity.ItemForPosition(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在我們的 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 所創建與分享的作品,並依授權條款所描述的使用進行修改。