|
|
@ -683,8 +683,8 @@ class ReadBookActivity : ReadBookBaseActivity(), |
|
|
|
autoPageStop() |
|
|
|
autoPageStop() |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
isAutoPage = true |
|
|
|
isAutoPage = true |
|
|
|
binding.readView.upContent() |
|
|
|
binding.readView.upContent(resetPageOffset = false) |
|
|
|
binding.readView.upContent(1) |
|
|
|
binding.readView.upContent(1, resetPageOffset = false) |
|
|
|
autoPagePlus() |
|
|
|
autoPagePlus() |
|
|
|
binding.readMenu.setAutoPage(true) |
|
|
|
binding.readMenu.setAutoPage(true) |
|
|
|
screenTimeOut = -1L |
|
|
|
screenTimeOut = -1L |
|
|
@ -693,11 +693,13 @@ class ReadBookActivity : ReadBookBaseActivity(), |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override fun autoPageStop() { |
|
|
|
override fun autoPageStop() { |
|
|
|
isAutoPage = false |
|
|
|
if (isAutoPage) { |
|
|
|
mHandler.removeCallbacks(autoPageRunnable) |
|
|
|
isAutoPage = false |
|
|
|
binding.readView.upContent() |
|
|
|
mHandler.removeCallbacks(autoPageRunnable) |
|
|
|
binding.readMenu.setAutoPage(false) |
|
|
|
binding.readView.upContent(resetPageOffset = false) |
|
|
|
upScreenTimeOut() |
|
|
|
binding.readMenu.setAutoPage(false) |
|
|
|
|
|
|
|
upScreenTimeOut() |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private fun autoPagePlus() { |
|
|
|
private fun autoPagePlus() { |
|
|
|