DiffCallback

class DiffCallback<T>(oldList: List<T>, newList: List<T>)(source)

Constructors

Link copied to clipboard
constructor(oldList: List<T>, newList: List<T>)

Functions

Link copied to clipboard
open fun areContentsTheSame(oldItemPosition: Int, newItemPosition: Int): Boolean
Link copied to clipboard
open fun areItemsTheSame(oldItemPosition: Int, newItemPosition: Int): Boolean
Link copied to clipboard
open fun getNewListSize(): Int
Link copied to clipboard
open fun getOldListSize(): Int