|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 |
public interface IActionCall
IAction的回調接口, 用來完成執行動作前後的回調.
Example:
顯示頁碼回調
IActionCall iaUpdatePage = new IActionCall() {
@Override
public boolean action() {
// 更新頁碼
int tmp = mBook.getCurPageNumber();
int num = (tmp <= 0) ? 1 : (tmp);
int totalPage = mBook.getTotalPageNumber();
String info = String.format(PAGE_FORMAT, num, totalPage);
mBottomBarLayout.updatePageInfo(info);
return true;
}
};
public void pageDown() {
mIEREngine.getAction().pageDown(null, iaUpdatePage);
}
方法摘要 | |
---|---|
boolean |
action()
當Action在執行某一動作前後,會調用該接口的方法. |
方法详细信息 |
---|
boolean action()
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 |