AbsListView.CheckedItemPosition Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the currently checked item.
public virtual int CheckedItemPosition { [Android.Runtime.Register("getCheckedItemPosition", "()I", "GetGetCheckedItemPositionHandler")] get; }
[<get: Android.Runtime.Register("getCheckedItemPosition", "()I", "GetGetCheckedItemPositionHandler")>]
member this.CheckedItemPosition : int
Property Value
The position of the currently checked item or
#INVALID_POSITION
if nothing is selected
- Attributes
Remarks
Returns the currently checked item. The result is only valid if the choice mode has been set to #CHOICE_MODE_SINGLE
.
Java documentation for android.widget.AbsListView.getCheckedItemPosition()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.