Lines Matching refs:newItem
48 T newItem = newList.get(newItemPosition);
49 if (oldItem == null || newItem == null) {
52 return diffCallback.getChangePayload(oldItem, newItem);
68 T newItem = newList.get(newItemPosition);
69 if (oldItem == newItem) {
72 if (oldItem == null || newItem == null) {
75 return diffCallback.areItemsTheSame(oldItem, newItem);
81 T newItem = newList.get(newItemPosition);
82 if (oldItem == newItem) {
85 if (oldItem == null || newItem == null) {
89 return diffCallback.areContentsTheSame(oldItem, newItem);