From 2aa7ceba02a6b133b9138b3830fe8a5bd0f9550d Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 1 Dec 2019 09:29:23 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/book/read/ReadBookActivity.kt | 7 ------- app/src/main/java/io/legado/app/ui/widget/page/PageView.kt | 5 ----- 2 files changed, 12 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt index 332c07219..4c0f97cea 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt @@ -263,13 +263,6 @@ class ReadBookActivity : VMBaseActivity(R.layout.activity_boo } } - /** - * 加载章节内容, index章节序号 - */ - override fun loadContent(index: Int) { - ReadBook.loadContent(index) - } - override fun upContent(position: Int) { page_view.upContent(position) } 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 bb6dd7f20..059d5e570 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 @@ -244,11 +244,6 @@ class PageView(context: Context, attrs: AttributeSet) : */ fun textChapter(chapterOnDur: Int = 0): TextChapter? - /** - * 加载章节内容, index章节序号 - */ - fun loadContent(index: Int) - /** * 保存页数 */