M - Model class for which the diff is calculatedpublic interface MvaDiffUtil<M>
| Modifier and Type | Method and Description |
|---|---|
void |
calculateDiff(ListUpdateCallback listUpdateCallback,
java.util.List<M> oldList,
java.util.List<M> newList)
Lets you calculate the diff between oldList and newList, after that apply the changes to
listUpdateCallback
|
void calculateDiff(ListUpdateCallback listUpdateCallback,
java.util.List<M> oldList,
java.util.List<M> newList)
listUpdateCallback - Callback where the updates has to be postedoldList - List of old itemsnewList - List of new items