Android Reference
AdapterView.OnItemLongClickListener
android.widget
Interface AdapterView.OnItemLongClickListener
-
-
Method Summary
Methods
Modifier and Type |
Method and Description |
boolean |
onItemLongClick(AdapterView<?> parent,
View view,
int position,
long id)
Callback method to be invoked when an item in this view has been
clicked and held.
|
-
-
Method Detail
-
onItemLongClick
boolean onItemLongClick(AdapterView<?> parent,
View view,
int position,
long id)
Callback method to be invoked when an item in this view has been
clicked and held.
Implementers can call getItemAtPosition(position) if they need to access
the data associated with the selected item.
- Parameters:
parent
- The AbsListView where the click happenedview
- The view within the AbsListView that was clickedposition
- The position of the view in the listid
- The row id of the item that was clicked
- Returns:
- true if the callback consumed the long click, false otherwise
Content
License.
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 201 / 159135285. Delta: 0.03268 с