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

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.

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

参数
positionPosition index of the new selected page.

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


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