Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Play store exception
java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{2f98d378 position=20 id=-1, oldPos=21, pLpos:21 scrap tmpDetached no parent}
at android.support.v7.widget.RecyclerView$Recycler.validateViewHolderForOffsetPosition(RecyclerView.java:3887)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4018)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:3999)
at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1892)
at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1338)
at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1301)
at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:509)
at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2365)
at android.support.v7.widget.RecyclerView.resumeRequestLayout(RecyclerView.java:1391)
at android.support.v7.widget.RecyclerView$1.run(RecyclerView.java:265)
at android.support.v7.widget.RecyclerView.consumePendingUpdateOperations(RecyclerView.java:1172)
at android.support.v7.widget.RecyclerView.access$2100(RecyclerView.java:131)
at android.support.v7.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:3434)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
at android.view.Choreographer.doCallbacks(Choreographer.java:580)
at android.view.Choreographer.doFrame(Choreographer.java:549)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.