Added in API level 1
Summary:
Methods
AdapterView.OnItemClickListener
public
static
interface
AdapterView.OnItemClickListener
Interface definition for a callback to be invoked when an item in this AdapterView has been clicked.
Summary
Public methods | |
|---|---|
abstract
void
|
onItemClick(AdapterView<?> parent, View view, int position, long id)
Callback method to be invoked when an item in this AdapterView has been clicked. |
Public methods
onItemClick
Added in API level 1
public abstract void onItemClick (AdapterView<?> parent, View view, int position, long id)
Callback method to be invoked when an item in this AdapterView has been clicked.
Implementers can call getItemAtPosition(position) if they need to access the data associated with the selected item.
