public static interface WaypointList.Listener
| Modifier and Type | Method and Description |
|---|---|
void |
onEntryAdded(int index,
WaypointEntry entry)
Called when the user has added a
WaypointEntry. |
void |
onEntryClicked(int index,
WaypointEntry current)
Called when a user has clicked on a
WaypointEntry. |
void |
onEntryDragged(int fromIdx,
int toIdx)
Called when the user has put one finger on the entry and moved it to another position.
|
void |
onEntryRemoved(int index,
WaypointEntry entry)
Called when the user has removed a
WaypointEntry. |
void |
onEntryUpdated(int index,
WaypointEntry entry)
Called when the user has updated a
WaypointEntry. |
void onEntryClicked(int index,
WaypointEntry current)
WaypointEntry.index - the list index of the WaypointEntry that was clicked.current - the WaypointEntry that was clicked.void onEntryAdded(int index,
WaypointEntry entry)
WaypointEntry.index - the list index of the added WaypointEntry.entry - the added WaypointEntry.void onEntryUpdated(int index,
WaypointEntry entry)
WaypointEntry.index - the list index of the updated WaypointEntry.entry - the updated WaypointEntry.void onEntryRemoved(int index,
WaypointEntry entry)
WaypointEntry.index - the list index of the removed WaypointEntry.entry - the removed WaypointEntry.void onEntryDragged(int fromIdx,
int toIdx)
fromIdx - the list index of the entry where the user has put one finger to start dragging.toIdx - the list index of the entry where the user has lifted the finger and stopped dragging.