Android: SortedList with duplicates
问题 I have some problems understanding RecyclerView s SortedList . Lets say I have a very simple class only having a very simple class holding data: public class Pojo { public final int id; public final char aChar; public Pojo(int id, char aChar) { this.id = id; this.aChar = aChar; } @Override public String toString() { return "Pojo[" + "id=" + id + ",aChar=" + aChar + "]"; } } My understanding is that the sorted list won't contain any duplicates. But when I have a SortedList with callbacks like