-
- All Implemented Interfaces:
public class DiffCallback<T extends Object> extends DiffUtil.Callback
-
-
Constructor Summary
Constructors Constructor Description DiffCallback()
-
Method Summary
Modifier and Type Method Description final DiffCallback<T>
update(List<T> newList)
Integer
getOldListSize()
Integer
getNewListSize()
Boolean
areItemsTheSame(Integer oldItemPosition, Integer newItemPosition)
Boolean
areContentsTheSame(Integer oldItemPosition, Integer newItemPosition)
-
-
Method Detail
-
update
final DiffCallback<T> update(List<T> newList)
-
getOldListSize
Integer getOldListSize()
-
getNewListSize
Integer getNewListSize()
-
areItemsTheSame
Boolean areItemsTheSame(Integer oldItemPosition, Integer newItemPosition)
-
areContentsTheSame
Boolean areContentsTheSame(Integer oldItemPosition, Integer newItemPosition)
-
-
-
-