java.lang.IllegalArgumentException: Called attach on a child which is not detached: ViewHolder{43142ad8 position=0 id=-1, oldPos=-1, pLpos:-1 not recyclable(1)}

Hot problem!
This exception has a lot of traffic. You can help 13 users by writing a short tip.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by doubleZuo
, 1 year ago
Called attach on a child which is not detached: ViewHolder{43142ad8 position=0 id=-1, oldPos=-1, pLpos:-1 not recyclable(1)}
via GitHub by lgxDesign
, 1 year ago
Called attach on a child which is not detached: ViewHolder{36ea4f63 position=7 id=-1, oldPos=-1, pLpos:-1 not recyclable(1)}
via GitHub by gr3ger
, 1 year ago
Called attach on a child which is not detached: ViewHolder{49e503 position=0 id=-1, oldPos=-1, pLpos:-1}
via GitHub by lixi0912
, 3 months ago
Called attach on a child which is not detached: ViewHolder{19eb53fa position=0 id=-1, oldPos=-1, pLpos:-1 no parent}
java.lang.IllegalArgumentException: Called attach on a child which is not detached: ViewHolder{43142ad8 position=0 id=-1, oldPos=-1, pLpos:-1 not recyclable(1)}
at android.support.v7.widget.RecyclerView$5.attachViewToParent(RecyclerView.java:681)
at android.support.v7.widget.ChildHelper.attachViewToParent(ChildHelper.java:239)
at android.support.v7.widget.RecyclerView.addAnimatingView(RecyclerView.java:1134)
at android.support.v7.widget.RecyclerView.animateDisappearance(RecyclerView.java:3485)
at android.support.v7.widget.RecyclerView.access$700(RecyclerView.java:151)
at android.support.v7.widget.RecyclerView$4.processDisappeared(RecyclerView.java:445)
at android.support.v7.widget.ViewInfoStore.process(ViewInfoStore.java:246)
at android.support.v7.widget.RecyclerView.dispatchLayoutStep3(RecyclerView.java:3330)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 2 years ago
2 times, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.