优化
This commit is contained in:
@@ -560,7 +560,11 @@ object ReadBook : CoroutineScope by MainScope() {
|
|||||||
}
|
}
|
||||||
callBack?.onLayoutPageCompleted(index, page)
|
callBack?.onLayoutPageCompleted(index, page)
|
||||||
}
|
}
|
||||||
if (upContent) callBack?.upContent(offset, false)
|
if (upContent) callBack?.upContent(offset, !available && resetPageOffset)
|
||||||
|
if (!available) {
|
||||||
|
curPageChanged()
|
||||||
|
callBack?.contentLoadFinish()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
-1 -> {
|
-1 -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user