LiveDisplay icon indicating copy to clipboard operation
LiveDisplay copied to clipboard

Fix java.lang.IllegalArgumentException: Tmp detached view should be removed from RecyclerView before it can be recycled: NotificationAdapterViewHolder{61ad07c position=4 id=-1, oldPos=-1, pLpos:-1 removed tmpDetached no parent} androidx.recyclerview.widget.RecyclerView{fbec61d VFE...... ......ID 148,523-932,657 #7f08009d app:id/notification_list}, adapter:crc64d2c48b53e4bc5de7.NotificationAdapter@6dfdff, layout:androidx.recyclerview.widget.LinearLayoutManager@c056092, context:crc641189d82cab8748b1.LockScreenActivity@d6c9839 in androidx.recyclerview.widget.RecyclerView$Recycler.recycleViewHolderInternal (RecyclerView.java:6439)

Open CarlosACepeda opened this issue 2 years ago • 0 comments

Version 1.0.6(27)

Stacktrace

androidx.recyclerview.widget.RecyclerView$Recycler.recycleViewHolderInternal (RecyclerView.java:6439);

androidx.recyclerview.widget.RecyclerView.removeAnimatingView (RecyclerView.java:1456);

androidx.recyclerview.widget.RecyclerView$ItemAnimatorRestoreListener.onAnimationFinished (RecyclerView.java:12699);

androidx.recyclerview.widget.RecyclerView$ItemAnimator.dispatchAnimationFinished (RecyclerView.java:13199);

androidx.recyclerview.widget.SimpleItemAnimator.dispatchChangeFinished (SimpleItemAnimator.java:317);

androidx.recyclerview.widget.DefaultItemAnimator$8.onAnimationEnd (DefaultItemAnimator.java:391);

Reason

java.lang.IllegalArgumentException: Tmp detached view should be removed from RecyclerView before it can be recycled: NotificationAdapterViewHolder{61ad07c position=4 id=-1, oldPos=-1, pLpos:-1 removed tmpDetached no parent} androidx.recyclerview.widget.RecyclerView{fbec61d VFE...... ......ID 148,523-932,657 #7f08009d app:id/notification_list}, adapter:crc64d2c48b53e4bc5de7.NotificationAdapter@6dfdff, layout:androidx.recyclerview.widget.LinearLayoutManager@c056092, context:crc641189d82cab8748b1.LockScreenActivity@d6c9839

Link to App Center

CarlosACepeda avatar Jul 30 '22 14:07 CarlosACepeda