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

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.

参数
positionPosition index of the first page currently being displayed. Page position+1 will be visible if positionOffset is nonzero.
positionOffsetValue from [0, 1) indicating the offset from the page at position.
positionOffsetPixelsValue 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.

参数
statethe 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.

参数
positionPosition index of the new selected page.

实现了 com.ab.view.slidingmenu.CustomViewAbove.OnPageChangeListener.


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