From cd13ef7d9f784bf62a0467ecc719cd8d1d568c0e Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 19 Aug 2022 20:02:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/ui/book/read/page/ReadView.kt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt b/app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt index 59ba6922c..6a8abc9bf 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt @@ -248,6 +248,9 @@ class ReadView(context: Context, attrs: AttributeSet) : return true } + /** + * 更新状态栏 + */ fun upStatusBar() { curPage.upStatusBar() prevPage.upStatusBar() @@ -397,6 +400,9 @@ class ReadView(context: Context, attrs: AttributeSet) : } } + /** + * 点击 + */ private fun click(action: Int) { when (action) { 0 -> callBack.showActionMenu() @@ -436,6 +442,9 @@ class ReadView(context: Context, attrs: AttributeSet) : } } + /** + * 销毁事件 + */ fun onDestroy() { pageDelegate?.onDestroy() curPage.cancelSelect()