1.RecyclerView崩溃,复现是在RecyclerView滚动的时候退出界面并且清除了RecyclerView的数据源后 未notify
站在用户的角度思考问题,与客户深入沟通,找到刚察网站设计与刚察网站推广的解决方案,凭借多年的经验,让设计与互联网技术结合,创造个性化、用户体验好的作品,建站类型包括:做网站、成都做网站、企业官网、英文网站、手机端网站、网站推广、国际域名空间、虚拟空间、企业邮箱。业务覆盖刚察地区。java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionVirtualBgItemViewHolder{1d21168 position\u003d10 id\u003d-1, oldPos\u003d-1, pLpos:-1 no parent} androidx.recyclerview.widget.RecyclerView{addf71b VFED..... ......ID 0,186-1080,359 #7f0902fe app:id/rv_scene}, adapter:com.hisense.videoconference.activity.VirtualSceneActivity$VirtualBgItemAdapter@b83b0ed, layout:com.hisense.videoconference.view.TryLinearLayoutManager@b48bb22, context:com.hisense.videoconference.activity.VirtualSceneActivity@ae310c8,exceptionmsg:java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionVirtualBgItemViewHolder{1d21168 position\u003d10 id\u003d-1, oldPos\u003d-1, pLpos:-1 no parent} androidx.recyclerview.widget.RecyclerView{addf71b VFED..... ......ID 0,186-1080,359 #7f0902fe app:id/rv_scene}, adapter:com.hisense.videoconference.activity.VirtualSceneActivity$VirtualBgItemAdapter@b83b0ed, layout:com.hisense.videoconference.view.TryLinearLayoutManager@b48bb22, context:com.hisense.videoconference.activity.VirtualSceneActivity@ae310c8\n\tat androidx.recyclerview.widget.RecyclerView$Recycler.validateViewHolderForOffsetPosition(RecyclerView.java:6156)\n\tat androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6339)\n\tat androidx.recyclerview.widget.GapWorker.prefetchPositionWithDeadline(GapWorker.java:288)\n\tat androidx.recyclerview.widget.GapWorker.flushTaskWithDeadline(GapWorker.java:345)\n\tat androidx.recyclerview.widget.GapWorker.flushTasksWithDeadline(GapWorker.java:361)\n\tat androidx.recyclerview.widget.GapWorker.prefetch(GapWorker.java:368)\n\tat androidx.recyclerview.widget.GapWorker.run(GapWorker.java:399)\n\tat android.os.Handler.handleCallback(Handler.java:883)\n\tat android.os.Handler.dispatchMessage(Handler.java:100)\n\tat android.os.Looper.loop(Looper.java:230)\n\tat android.app.ActivityThread.main(ActivityThread.java:8049)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:526)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034"
2.Cannot call this method while RecyclerView is computing a layout or scrolling - 简书 (jianshu.com)3
(72条消息) RecyclerView状态异常Cannot call this method while RecyclerView is computing a layout or scrolling_wings专栏的博客-博客_recyclerview: cannot
你是否还在寻找稳定的海外服务器提供商?创新互联www.cdcxhl.cn海外机房具备T级流量清洗系统配攻击溯源,准确流量调度确保服务器高可用性,企业级服务器适合批量采购,新人活动首月15元起,快前往官网查看详情吧