| java.lang.Object | |
| ↳ | android.support.v17.leanback.widget.ObjectAdapter.DataObserver |
A DataObserver can be notified when an ObjectAdapter's underlying data changes. Separate methods provide notifications about different types of changes.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Called whenever the ObjectAdapter's data has changed in some manner
outside of the set of changes covered by the other range-based change
notification methods.
| |||||||||||
Called when a range of items in the ObjectAdapter has changed.
| |||||||||||
Called when a range of items is inserted into the ObjectAdapter.
| |||||||||||
Called when a range of items is removed from the ObjectAdapter.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Called whenever the ObjectAdapter's data has changed in some manner outside of the set of changes covered by the other range-based change notification methods.
Called when a range of items in the ObjectAdapter has changed. The basic ordering and structure of the ObjectAdapter has not changed.
| positionStart | The position of the first item that changed. |
|---|---|
| itemCount | The number of items changed. |
Called when a range of items is inserted into the ObjectAdapter.
| positionStart | The position of the first inserted item. |
|---|---|
| itemCount | The number of items inserted. |
Called when a range of items is removed from the ObjectAdapter.
| positionStart | The position of the first removed item. |
|---|---|
| itemCount | The number of items removed. |