public class RowHeaderSortCallback
extends androidx.recyclerview.widget.DiffUtil.Callback
| Constructor and Description |
|---|
RowHeaderSortCallback(java.util.List<ISortableModel> oldCellItems,
java.util.List<ISortableModel> newCellItems) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areContentsTheSame(int oldItemPosition,
int newItemPosition) |
boolean |
areItemsTheSame(int oldItemPosition,
int newItemPosition) |
int |
getNewListSize() |
int |
getOldListSize() |
public RowHeaderSortCallback(@NonNull
java.util.List<ISortableModel> oldCellItems,
@NonNull
java.util.List<ISortableModel> newCellItems)
public int getOldListSize()
getOldListSize in class androidx.recyclerview.widget.DiffUtil.Callbackpublic int getNewListSize()
getNewListSize in class androidx.recyclerview.widget.DiffUtil.Callbackpublic boolean areItemsTheSame(int oldItemPosition,
int newItemPosition)
areItemsTheSame in class androidx.recyclerview.widget.DiffUtil.Callbackpublic boolean areContentsTheSame(int oldItemPosition,
int newItemPosition)
areContentsTheSame in class androidx.recyclerview.widget.DiffUtil.Callback