| AndBase开发框架 1.6

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

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

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

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

## 详细描述

Simple implementation of the OnPageChangeListener interface with stub implementations of each method. Extend this if you do not intend to override every method of OnPageChangeListener.

参见
  SimpleOnPageChangeEvent

## 成员函数说明

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

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.OnPageChangeListener.

void com.ab.view.slidingmenu.CustomViewAbove.SimpleOnPageChangeListener.onPageScrollStateChanged | ( | int | state | ) |
| inline

On page scroll state changed.

参数

  state | the state

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

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.OnPageChangeListener.

该类的文档由以下文件生成:

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