|
|
|
@ -295,8 +295,12 @@ class PageView(context: Context, attrs: AttributeSet) : |
|
|
|
|
private fun click(action: Int) { |
|
|
|
|
when (action) { |
|
|
|
|
0 -> callBack.showActionMenu() |
|
|
|
|
1 -> pageDelegate?.nextPageByAnim(defaultAnimationSpeed) |
|
|
|
|
2 -> pageDelegate?.prevPageByAnim(defaultAnimationSpeed) |
|
|
|
|
1 -> if (AppConfig.clickTurnPage) { |
|
|
|
|
pageDelegate?.nextPageByAnim(defaultAnimationSpeed) |
|
|
|
|
} |
|
|
|
|
2 -> if (AppConfig.clickTurnPage) { |
|
|
|
|
pageDelegate?.prevPageByAnim(defaultAnimationSpeed) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|