pull/51/head
kunfei 5 years ago
parent 08f91cb904
commit 2aa7ceba02
  1. 7
      app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt
  2. 5
      app/src/main/java/io/legado/app/ui/widget/page/PageView.kt

@ -263,13 +263,6 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_boo
}
}
/**
* 加载章节内容, index章节序号
*/
override fun loadContent(index: Int) {
ReadBook.loadContent(index)
}
override fun upContent(position: Int) {
page_view.upContent(position)
}

@ -244,11 +244,6 @@ class PageView(context: Context, attrs: AttributeSet) :
*/
fun textChapter(chapterOnDur: Int = 0): TextChapter?
/**
* 加载章节内容, index章节序号
*/
fun loadContent(index: Int)
/**
* 保存页数
*/

Loading…
Cancel
Save