An IndexOutOfBoundsException occurred in a RecyclerView when trying to access an item with an invalid position. This can happen if the view holder positions become inconsistent, such as when the list is changed without notifying the adapter. The exception provides details on the invalid view holder like its adapter position, ID, and parent view information to help identify the root cause.
An IndexOutOfBoundsException occurred in a RecyclerView when trying to access an item with an invalid position. This can happen if the view holder positions become inconsistent, such as when the list is changed without notifying the adapter. The exception provides details on the invalid view holder like its adapter position, ID, and parent view information to help identify the root cause.
An IndexOutOfBoundsException occurred in a RecyclerView when trying to access an item with an invalid position. This can happen if the view holder positions become inconsistent, such as when the list is changed without notifying the adapter. The exception provides details on the invalid view holder like its adapter position, ID, and parent view information to help identify the root cause.
adapter positionBaseViewHolder{c042c83 position=150 id=-1, oldPos=207, pLpos:150 scrap [attachedScrap] tmpDetached no parent} androidx.recyclerview.widget.RecyclerView{b86d8e8 VFED..... ......I. 0,252- 1080,2220 #7f090ba0 app:id/bdg}, adapter:o.xm1@f1a9e7c, layout:androidx.recyclerview.widget.LinearLayoutManager@a877305, context:com.snaptube.premium.activity.CleanActivity@d18bf6f at androidx.recyclerview.widget.RecyclerView$s.ˇ(SourceFile:10) at androidx.recyclerview.widget.RecyclerView$s.ʳ(SourceFile:5) at androidx.recyclerview.widget.RecyclerView$s.ˍ(SourceFile:1) at androidx.recyclerview.widget.RecyclerView$s.ˌ(SourceFile:1) at androidx.recyclerview.widget.LinearLayoutManager$c.ˏ(SourceFile:3) at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(SourceFile:1) at androidx.recyclerview.widget.LinearLayoutManager.fill(SourceFile:9) at androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren(SourceFile:64) at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep1(SourceFile:31) at androidx.recyclerview.widget.RecyclerView.dispatchLayout(SourceFile:7) at androidx.recyclerview.widget.RecyclerView.consumePendingUpdateOperations(SourceFile :18) at androidx.recyclerview.widget.RecyclerView$z.run(SourceFile:5) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1027) at android.view.Choreographer.doCallbacks(Choreographer.java:837) at android.view.Choreographer.doFrame(Choreographer.java:763) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:999) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:268) at android.app.ActivityThread.main(ActivityThread.java:8089) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:626) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:997)