private class ListFileActivity.LongPress
extends java.lang.Object
implements android.widget.AdapterView.OnItemLongClickListener
Modifier | Constructor and Description |
---|---|
private |
LongPress() |
Modifier and Type | Method and Description |
---|---|
boolean |
onItemLongClick(android.widget.AdapterView<?> parent,
android.view.View view,
int position,
long id)
The actual function that shows the menu
|
public boolean onItemLongClick(android.widget.AdapterView<?> parent, android.view.View view, int position, long id)
onItemLongClick
in interface android.widget.AdapterView.OnItemLongClickListener
parent
- the adapterView of the Listview
- the view that was actually clickedposition
- the index of the item clickedid
- the row id of the item that was clicked