优化
This commit is contained in:
@@ -312,12 +312,7 @@ class PageView(context: Context) : FrameLayout(context) {
|
|||||||
text = textPage.title
|
text = textPage.title
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tvPage?.apply {
|
tvPage?.text = "${index.plus(1)}/$pageSize"
|
||||||
val page = "${index.plus(1)}/$pageSize"
|
|
||||||
if (text != page) {
|
|
||||||
text = page
|
|
||||||
}
|
|
||||||
}
|
|
||||||
val readProgress = readProgress
|
val readProgress = readProgress
|
||||||
tvTotalProgress?.apply {
|
tvTotalProgress?.apply {
|
||||||
if (text != readProgress) {
|
if (text != readProgress) {
|
||||||
|
|||||||
Reference in New Issue
Block a user