|
|
@ -104,14 +104,16 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_rea |
|
|
|
|
|
|
|
|
|
|
|
override fun skipToPage(page: Int) { |
|
|
|
override fun skipToPage(page: Int) { |
|
|
|
viewModel.durPageIndex = page |
|
|
|
viewModel.durPageIndex = page |
|
|
|
|
|
|
|
page_view.chapterLoadFinish() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override fun skipPreChapter() { |
|
|
|
override fun skipPreChapter() { |
|
|
|
|
|
|
|
viewModel.durPageIndex = 0 |
|
|
|
|
|
|
|
moveToPrevChapter() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override fun skipNextChapter() { |
|
|
|
override fun skipNextChapter() { |
|
|
|
|
|
|
|
moveToNextChapter() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override fun openReplaceRule() { |
|
|
|
override fun openReplaceRule() { |
|
|
|