diff --git a/app/src/main/java/io/legado/app/ui/widget/page/PageView.kt b/app/src/main/java/io/legado/app/ui/widget/page/PageView.kt index 7aa39bc60..e05eb8c31 100644 --- a/app/src/main/java/io/legado/app/ui/widget/page/PageView.kt +++ b/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() } }