While using RecyclerView, I noticed that single item I deleted still exists in the background. Since I use ListAdapter
, there were no chance that the changes are not notified to RecyclerViewAdapter
.
After I deleted the option setIsRecyclable(false)
set in ViewHolder
, the problem is solved. But there are only single item bound to that ViewHolder type, so theoretically isRecyclable
option should affect nothing.
Is this a bug? Thanks in advance.
p.s I’m using androidx.recyclerview:recyclerview:1.2.1
.