ItemCallback
Callback for calculating the diff between two non-null items in a list.
Callback serves two roles - list indexing, and item diffing. ItemCallback handles just the second of these, which allows separation of code that indexes into an array or List from the presentation-layer and content specific diffing code.
Parameters
<T>
Type of items to compare.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
When areItemsTheSame returns
true
for two items and areContentsTheSame returns false for them, this method is called to get a payload about the change.