Lines Matching refs:oldItem
234 T oldItem = oldList.get(oldItemPosition);
236 if (oldItem != null && newItem != null) {
237 return mConfig.getDiffCallback().areItemsTheSame(oldItem, newItem);
240 return oldItem == null && newItem == null;
245 T oldItem = oldList.get(oldItemPosition);
247 if (oldItem != null && newItem != null) {
248 return mConfig.getDiffCallback().areContentsTheSame(oldItem, newItem);
250 if (oldItem == null && newItem == null) {
263 T oldItem = oldList.get(oldItemPosition);
265 if (oldItem != null && newItem != null) {
266 return mConfig.getDiffCallback().getChangePayload(oldItem, newItem);