Callback
Functions
Link copied to clipboard
Called by the DiffUtil when it wants to check whether two items have the same data.
Link copied to clipboard
Called by the DiffUtil to decide whether two object represent the same Item.
Link copied to clipboard
When areItemsTheSame returns
true
for two items and areContentsTheSame returns false for them, DiffUtil calls this method to get a payload about the change.Link copied to clipboard
Returns the size of the new list.
Link copied to clipboard
Returns the size of the old list.