I am trying to implement a very simple RecyclerVie...
# android
k
I am trying to implement a very simple RecyclerView. I am using DiffUtil to calculate the diff between the original and modified list. The problem I am facing is the original and modified list are always the same. I understand it’s a issue related to list references but cannot figure out what can I change. I have tried creating a newList (new reference) every-time something is updated. What am I missing?
e
The diff ref. Should be unrelated to what you're trying to do. It's the content of the list and not the list itself that you want to compare.