| AndBase开发框架 1.6

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

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

全部 类 命名空间 文件 函数 变量 枚举值 页
Public 成员函数 | 所有成员列表
com.ab.view.slidingmenu.CustomViewAbove.OnPageChangeListener接口 参考
类 com.ab.view.slidingmenu.CustomViewAbove.OnPageChangeListener 继承关系图:

## Public 成员函数
void | onPageScrolled (int position, float positionOffset, int positionOffsetPixels)
void | onPageSelected (int position)

## 详细描述

Callback interface for responding to changing state of the selected page.

参见
  OnPageChangeEvent

## 成员函数说明

void com.ab.view.slidingmenu.CustomViewAbove.OnPageChangeListener.onPageScrolled | ( | int | position,
|  | float | positionOffset,
|  | int | positionOffsetPixels
| ) |  |

This method will be invoked when the current page is scrolled, either as part of a programmatically initiated smooth scroll or a user initiated touch scroll.

参数

  position | Position index of the first page currently being displayed. Page position+1 will be visible if positionOffset is nonzero.
  positionOffset | Value from [0, 1) indicating the offset from the page at position.
  positionOffsetPixels | Value in pixels indicating the offset from position.

在 com.ab.view.slidingmenu.CustomViewAbove.SimpleOnPageChangeListener 内被实现.

void com.ab.view.slidingmenu.CustomViewAbove.OnPageChangeListener.onPageSelected | ( | int | position | ) |

This method will be invoked when a new page becomes selected. Animation is not necessarily complete.

参数

  position | Position index of the new selected page.

在 com.ab.view.slidingmenu.CustomViewAbove.SimpleOnPageChangeListener 内被实现.

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

- src/com/ab/view/slidingmenu/CustomViewAbove.java