yanzhenjie / SwipeRecyclerView

:melon: RecyclerView侧滑菜单,Item拖拽,滑动删除Item,自动加载更多,HeaderView,FooterView,Item分组黏贴。
https://github.com/yanzhenjie/SwipeRecyclerView
Apache License 2.0
5.64k stars 1.09k forks source link

app偶现奔溃问题 #273

Closed vudiy closed 5 years ago

vudiy commented 5 years ago

Process: com.peng.radio.service, PID: 3343 06-03 05:36:06.576 +0000 3343 3343 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 6(offset:6).state:20 com.yanzhenjie.recyclerview.swipe.SwipeMenuRecyclerView{93cdc51 VFED.V... ........ 0,0-480,453 #7f080099 app:id/lv_tagList}, adapter:com.yanzhenjie.recyclerview.swipe.SwipeAdapterWrapper@1f97803, layout:com.peng.radio.view.SelfLinearLayoutManager@f1b3380, context:com.peng.radio.activity.MainActivity@d490fa 06-03 05:36:06.576 +0000 3343 3343 E AndroidRuntime: at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5622) 06-03 05:36:06.576 +0000 3343 3343 E AndroidRuntime: at android.support.v7.widget.GapWorker.prefetchPositionWithDeadline(GapWorker.java:285) 06-03 05:36:06.576 +0000 3343 3343 E AndroidRuntime: at android.support.v7.widget.GapWorker.flushTaskWithDeadline(GapWorker.java:342) 06-03 05:36:06.576 +0000 3343 3343 E AndroidRuntime: at android.support.v7.widget.GapWorker.flushTasksWithDeadline(GapWorker.java:358) 06-03 05:36:06.576 +0000 3343 3343 E AndroidRuntime: at android.support.v7.widget.GapWorker.prefetch(GapWorker.java:365) 06-03 05:36:06.576 +0000 3343 3343 E AndroidRuntime: at android.support.v7.widget.GapWorker.run(GapWorker.java:396) 06-03 05:36:06.576 +0000 3343 3343 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:873) 06-03 05:36:06.576 +0000 3343 3343 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99) 06-03 05:36:06.576 +0000 3343 3343 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193) 06-03 05:36:06.576 +0000 3343 3343 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6680) 06-03 05:36:06.576 +0000 3343 3343 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 06-03 05:36:06.576 +0000 3343 3343 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) 06-03 05:36:06.576 +0000 3343 3343 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:916)