| android.support.wearable.view.WearableListView.OnScrollListener |
Interface for listening to WearableListView content scrolling.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
BE ADVISED DO NOT USE THIS This might provide wrong values when contents
of a RecyclerView change.
| |||||||||||
Called when the central item of the WearableListView changes.
| |||||||||||
Called when the content is scrolled, reporting the relative scroll value.
| |||||||||||
Called when WearableListView's scroll state changes.
| |||||||||||
This method is deprecated.
BE ADVISED DO NOT USE THIS This might provide wrong values when contents
of a RecyclerView change.
Called when the content is scrolled, reporting the absolute scroll value.
| scroll | Absolute scroll position of the content inside the WearableListView. |
|---|
Called when the central item of the WearableListView changes.
| centralPosition | Position of the item in the Adapter. |
|---|
Called when the content is scrolled, reporting the relative scroll value.
| scroll | Amount the content was scrolled. This is a delta from the previous position to the new position. |
|---|
Called when WearableListView's scroll state changes.
| scrollState | The updated scroll state. One of SCROLL_STATE_IDLE,
SCROLL_STATE_DRAGGING or SCROLL_STATE_SETTLING.
|
|---|