光环助手V4.7.0-新分类精选页功能优化_20210203测试问题_第4、5点 https://git.ghzs.com/pm/halo-app-issues/-/issues/1123#note_89121

This commit is contained in:
lyr
2021-02-04 10:47:28 +08:00
parent 5ce992ee63
commit af3fdb3cfb

View File

@ -255,7 +255,8 @@ class SpecialCatalogAdapter(context: Context, private val mCatalogViewModel: Cat
binding.viewPager.run {
adapter = BannerAdapter(mContext, mCatalogViewModel, itemData, mCatalogViewModel.basicExposureSource)
if (banners.size > 1) {
interval = 5000L
currentItem = banners.size * 10
interval = 3000L
startAutoScroll()
doOnPageSelected {