pull/32/head
kunfei 5 years ago
parent 1fea378c61
commit 198ea81c96
  1. 8
      app/src/main/java/io/legado/app/ui/widget/page/PageView.kt

@ -156,7 +156,6 @@ class PageView(context: Context, attrs: AttributeSet) : FrameLayout(context, att
if (noAnim) {
fillPage(PageDelegate.Direction.PREV)
}
}
fun moveToNextPage(noAnim: Boolean = true) {
@ -228,7 +227,14 @@ class PageView(context: Context, attrs: AttributeSet) : FrameLayout(context, att
*/
fun moveToPrevChapter(last: Boolean = true)
/**
* 保存页数
*/
fun setPageIndex(pageIndex: Int)
/**
* 点击屏幕中间
*/
fun clickCenter()
}
}

Loading…
Cancel
Save