谷歌 为什么你的Slider不能处理越界
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user