谷歌 为什么你的Slider不能处理越界

This commit is contained in:
HapeLee
2025-10-26 12:35:03 +08:00
parent 83f1aa5b3c
commit 5db8936e57
@@ -333,9 +333,14 @@ class ReadMangaActivity : VMBaseActivity<ActivityMangaBinding, ReadMangaViewMode
mLayoutManager.scrollToPositionWithOffset(pos, 0) mLayoutManager.scrollToPositionWithOffset(pos, 0)
binding.flLoading.isGone = true binding.flLoading.isGone = true
loadMoreView.visible() loadMoreView.visible()
binding.mangaMenu.upSeekBar( val chapter = ReadManga.curMangaChapter
ReadManga.durChapterPos, ReadManga.curMangaChapter!!.imageCount if (chapter != null && chapter.imageCount > 0) {
) binding.mangaMenu.upSeekBar(
ReadManga.durChapterPos, chapter.imageCount
)
} else {
binding.mangaMenu.upSeekBar(1, 2)
}
} }
if (curFinish) { if (curFinish) {