Android.App.ListFragment.OnListItemClick Method
This method will be called when an item in the list is selected.

Syntax

[Android.Runtime.Register("onListItemClick", "(Landroid/widget/ListView;Landroid/view/View;IJ)V", "GetOnListItemClick_Landroid_widget_ListView_Landroid_view_View_IJHandler")]
public virtual void OnListItemClick (Android.Widget.ListView l, Android.Views.View v, int position, long id)

Parameters

l
The ListView where the click happened
v
The view that was clicked within the ListView
position
The position of the view in the list
id
The row id of the item that was clicked

Remarks

This method will be called when an item in the list is selected. Subclasses should override. Subclasses can call getListView().getItemAtPosition(position) if they need to access the data associated with the selected item.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11