Lines Matching refs:oldItem
41 T oldItem = oldList.get(oldItemPosition + oldOffset);
43 if (oldItem == null || newItem == null) {
46 return diffCallback.getChangePayload(oldItem, newItem);
61 T oldItem = oldList.get(oldItemPosition + oldOffset);
63 if (oldItem == newItem) {
67 if (oldItem == null || newItem == null) {
70 return diffCallback.areItemsTheSame(oldItem, newItem);
75 T oldItem = oldList.get(oldItemPosition + oldOffset);
77 if (oldItem == newItem) {
81 if (oldItem == null || newItem == null) {
85 return diffCallback.areContentsTheSame(oldItem, newItem);