@ -108,8 +108,10 @@ class ContentView(context: Context) : FrameLayout(context) {
}
fun setContent(textPage: TextPage) {
fun setContent(textPage: TextPage, resetPageOffset: Boolean) {
setProgress(textPage)
if (resetPageOffset)
resetPageOffset()
content_text_view.setContent(textPage)