-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
轮播图放在recycleView首个item,刷新recyclerView时 如轮播图正在滚动时导致IndexOutOfBoundsException #1047
Comments
|
|
你是下载源码,修改源码的? 还是通过asm去修改的 |
继承啊:XXX extends ScrollSpeedManger,然后 setLayoutManager(XXX) |
我试了,依然闪退,所以我采用了清除数据就刷新界面的方法#1195 (comment) |
java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionImageHolder{57b739d position=2 id=-1, oldPos=-1, pLpos:-1 no parent} androidx.viewpager2.widget.ViewPager2$RecyclerViewImpl{b384012 VFED..... ........ 0,0-672,360 #8}, adapter:com.snail.card.home.adapter.ImageAdapter@a64f3e3, layout:com.youth.banner.util.ScrollSpeedManger@3dd31e0, context:com.snail.card.MainAct@470b42b
The text was updated successfully, but these errors were encountered: