calculateDiff
Calculates the list of update operations that can covert one list into the other one.
Return
A DiffResult that contains the information about the edit sequence to convert the old list into the new list.
Parameters
The callback that acts as a gateway to the backing list data
Calculates the list of update operations that can covert one list into the other one.
If your old and new lists are sorted by the same constraint and items never move (swap positions), you can disable move detection which takes O(N^2)
time where N is the number of added, moved, removed items.
Return
A DiffResult that contains the information about the edit sequence to convert the old list into the new list.
Parameters
The callback that acts as a gateway to the backing list data
True if DiffUtil should try to detect moved items, false otherwise.