fun areContentsTheSame(oldItemPos: Int, newItemPos: Int): Boolean
Return whether two data items looks the same when shown to users
Uses the data item's DiffItemCallback's implementation of the method hasSameRepresentation
oldItemPos
- The position of the old data item
newItemPos
- The position of the new data item
Return
Whether two data items looks the same when shown to users
See Also