public interface IncrementalListObserver
IncrementalListObservable
Modifier and Type | Method and Description |
---|---|
void |
onDataSetChanged()
Indicates that an unspecificied change has occured on the observed list.
|
void |
onItemsChanged(int fromPosition,
int itemCount)
Indicates that items in the observed list have been updated.
|
void |
onItemsInserted(int fromPosition,
int itemCount)
Indicates that a number of items have been inserted into the observed list at the specified position.
|
void |
onItemsRemoved(int fromPosition,
int itemCount)
Indicates that a number of items have been removed from the observed list at the specified position.
|
void onItemsInserted(int fromPosition, int itemCount)
fromPosition
- The index at which items have been inserted into the list.itemCount
- The number of items that have been inserted to the list starting at index fromPosition
.void onItemsRemoved(int fromPosition, int itemCount)
fromPosition
- The index at which items have been removed from the list.itemCount
- The number of items that have been removed from the list starting at index fromPosition
.void onItemsChanged(int fromPosition, int itemCount)
fromPosition
- The index at which items have been updated.itemCount
- The number of items that have been updated starting at index fromPosition
.void onDataSetChanged()