pull/78/head
kunfei 5 years ago
parent 14515c52b1
commit d40cc7691f
  1. 2
      app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt
  2. 3
      app/src/main/java/io/legado/app/ui/book/read/page/delegate/PageDelegate.kt

@ -119,7 +119,7 @@ class PageView(context: Context, attrs: AttributeSet) :
prevPage?.scrollToBottom()
}
}
pageDelegate?.onPageUp()
callBack?.screenOffTimerStart()
}
fun moveToPrevPage(noAnim: Boolean = true) {

@ -215,9 +215,6 @@ abstract class PageDelegate(protected val pageView: PageView) {
open fun onScroll() {//移动contentView, slidePage
}
open fun onPageUp() {
}
abstract fun onScroll(
e1: MotionEvent,
e2: MotionEvent,

Loading…
Cancel
Save