ItemDiffUtil

Because ItemWrapper is used, the original DiffUtil will be inconvenient to use, so ItemDiffUtil was designed to replace it.

Since

1.1.1

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
override fun areContentsTheSame(oldItem: ItemWrapper<T>, newItem: ItemWrapper<T>): Boolean
Link copied to clipboard
override fun areItemsTheSame(oldItem: ItemWrapper<T>, newItem: ItemWrapper<T>): Boolean
Link copied to clipboard
abstract fun newAreContentsTheSame(oldItem: T?, newItem: T?): Boolean
Link copied to clipboard
abstract fun newAreItemsTheSame(oldItem: T?, newItem: T?): Boolean