library / com.camerash.filterdrawer / FilterRecyclerViewDiffCallback / areItemsTheSame

areItemsTheSame

fun areItemsTheSame(oldItemPos: Int, newItemPos: Int): Boolean

Return whether two data items are identical at a data level

Uses the data item's DiffItemCallback's implementation of the method isIdentical

Parameters

oldItemPos - The position of the old data item

newItemPos - The position of the new data item

Return
Whether two data items are identical at a data level

See Also

DiffItemCallback.isIdentical