| AndBase开发框架 1.5.7

- 首页
- 相关页面
- 命名空间
- 类
- 文件

- 类列表
- 类索引
- 类继承关系
- 类成员

全部 类 命名空间 文件 函数 变量 枚举值 页
Public 成员函数 | 静态 Public 属性 | 所有成员列表
com.ab.view.pullview.AbMultiColumnBaseAbsListView.OnScrollListener接口 参考
类 com.ab.view.pullview.AbMultiColumnBaseAbsListView.OnScrollListener 继承关系图:

## Public 成员函数
void | onScrollStateChanged (AbMultiColumnBaseAbsListView view, int scrollState)
void | onScroll (AbMultiColumnBaseAbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount)

## 静态 Public 属性
static int | SCROLL_STATE_IDLE = 0
static int | SCROLL_STATE_TOUCH_SCROLL = 1
static int | SCROLL_STATE_FLING = 2

## 详细描述

Interface definition for a callback to be invoked when the list or grid has been scrolled.

## 成员函数说明

void com.ab.view.pullview.AbMultiColumnBaseAbsListView.OnScrollListener.onScroll | ( | AbMultiColumnBaseAbsListView | view,
|  | int | firstVisibleItem,
|  | int | visibleItemCount,
|  | int | totalItemCount
| ) |  |

Callback method to be invoked when the list or grid has been scrolled. This will be called after the scroll has completed

参数

  view | The view whose scroll state is being reported
  firstVisibleItem | the index of the first visible cell (ignore if visibleItemCount == 0)
  visibleItemCount | the number of visible cells
  totalItemCount | the number of items in the list adaptor

在 com.ab.view.pullview.AbMultiColumnListView 内被实现.

void com.ab.view.pullview.AbMultiColumnBaseAbsListView.OnScrollListener.onScrollStateChanged | ( | AbMultiColumnBaseAbsListView | view,
|  | int | scrollState
| ) |  |

Callback method to be invoked while the list view or grid view is being scrolled. If the view is being scrolled, this method will be called before the next frame of the scroll is rendered. In particular, it will be called before any calls to Adapter#getView(int, View, ViewGroup).

参数

  view | The view whose scroll state is being reported
  scrollState | The current scroll state. One of SCROLL_STATE_IDLE, SCROLL_STATE_TOUCH_SCROLL or SCROLL_STATE_IDLE.

在 com.ab.view.pullview.AbMultiColumnListView 内被实现.

## 类成员变量说明

int com.ab.view.pullview.AbMultiColumnBaseAbsListView.OnScrollListener.SCROLL_STATE_FLING = 2
| static

The user had previously been scrolling using touch and had performed a fling. The animation is now coasting to a stop

int com.ab.view.pullview.AbMultiColumnBaseAbsListView.OnScrollListener.SCROLL_STATE_IDLE = 0
| static

The view is not scrolling. Note navigating the list using the trackball counts as being in the idle state since these transitions are not animated.

int com.ab.view.pullview.AbMultiColumnBaseAbsListView.OnScrollListener.SCROLL_STATE_TOUCH_SCROLL = 1
| static

The user is scrolling using touch, and their finger is still on the screen

该接口的文档由以下文件生成:

- src/com/ab/view/pullview/AbMultiColumnBaseAbsListView.java