public static interface ListContainer.ItemLongClickedListener
ListContainer item.
This class inherits from ItemLongClickedListener#onItemLongClicked(ListContainer, Component, int, long)
to respond to the events.
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
boolean |
onItemLongClicked(ListContainer parent,
Component component,
int position,
long id) |
Called when a
ListContainer item is long-clicked and processes the long-click event. |
boolean onItemLongClicked(ListContainer parent, Component component, int position, long id)
ListContainer item is long-clicked and processes the long-click event.parent - Indicates the ListContainer object.component - Indicates the long-clicked Component item in the ListContainer object.position - Indicates the position of the long-clicked Component item in the
ListContainer object.id - Indicates the row ID of the long-clicked item.true if the long-click event is processed; returns false otherwise.