library / com.camerash.filterdrawer / FilterRecyclerViewDiffCallback / areContentsTheSame

areContentsTheSame

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

Parameters

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

DiffItemCallback.hasSameRepresentation