fix banner顺序不对的问题

This commit is contained in:
zlzw 2023-04-25 16:45:01 +08:00
parent 1953b5a776
commit 611f1da9b8

View File

@ -416,9 +416,6 @@ public class MainHomeLiveViewHolder extends AbsMainHomeChildViewHolder implement
return; return;
} }
mBannerShowed = true; mBannerShowed = true;
BannerBean tmp = mBannerList.get(0);
mBannerList.set(0, mBannerList.get(2));
mBannerList.set(2, tmp);
mBanner.setAutoPlay(true) mBanner.setAutoPlay(true)
.setPages(mBannerList, new CustomViewHolder()) .setPages(mBannerList, new CustomViewHolder())
.setDelayTime(3000) .setDelayTime(3000)