语言

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

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

适用于