I have some problems understanding RecyclerViews SortedList.
RecyclerView
SortedList
Lets say I have a very simple class only having a very simple class holding data:<
I think you should use Integer.compare(o1.id, o2.id); in compare method, it's where SortList decide those 2 items are the same or not.
Integer.compare(o1.id, o2.id);
compare