| Known Indirect Subclasses |
An interface for notifying an observer about changes to a DataBuffer.
To support adding multiple observers, see DataBufferObserverSet.
It allows you to delegate addObserver and removeObserver to it and it will handle
distributing all the notifications to all registered observers.
| interface | DataBufferObserver.Observable | Interface a data buffer can implement to expose the fact that it supports observation. | |
| abstract void |
onDataChanged()
Called when the overall data changes.
|
| abstract void |
onDataRangeChanged(int position, int count)
Called when a range of items changes.
|
| abstract void |
onDataRangeInserted(int position, int count)
Called when a range of items is inserted.
|
| abstract void |
onDataRangeMoved(int fromPosition, int toPosition, int count)
Called when a range of items is moved.
|
| abstract void |
onDataRangeRemoved(int position, int count)
Called when a range of items is removed.
|
Called when the overall data changes.
Called when a range of items changes.
Called when a range of items is inserted.
Called when a range of items is moved.
Called when a range of items is removed.