|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListViewItemListener
List view item listener interface.
Nested Class Summary | |
---|---|
static class |
ListViewItemListener.Adapter
List view item listener adapter. |
Method Summary | |
---|---|
void |
itemInserted(ListView listView,
int index)
Called when an item has been inserted into the list view. |
void |
itemsCleared(ListView listView)
Called when the items in a list view have been cleared. |
void |
itemsRemoved(ListView listView,
int index,
int count)
Called when items have been removed from the list view. |
void |
itemsSorted(ListView listView)
Called when the items in a list view have been sorted. |
void |
itemUpdated(ListView listView,
int index)
Called when an item in the list view has been updated. |
Method Detail |
---|
void itemInserted(ListView listView, int index)
listView
- The source of the event.index
- The index of the item that was inserted.void itemsRemoved(ListView listView, int index, int count)
listView
- The source of the event.index
- The first index affected by the event.count
- The number of items that were removed, or -1 if all items
were removed.void itemUpdated(ListView listView, int index)
listView
- The source of the event.index
- The first index affected by the event.void itemsCleared(ListView listView)
listView
- void itemsSorted(ListView listView)
listView
- The source of the event.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |