RepoDiffCallback

class RepoDiffCallback(oldList: List<RepositoryData>, newList: Array<RepositoryData>) : DiffUtil.Callback

Functions

areContentsTheSame
Link copied to clipboard
open override fun areContentsTheSame(oldItemPosition: Int, newItemPosition: Int): Boolean
areItemsTheSame
Link copied to clipboard
open override fun areItemsTheSame(oldItemPosition: Int, newItemPosition: Int): Boolean
getChangePayload
Link copied to clipboard
open fun getChangePayload(p0: Int, p1: Int): Any?
getNewListSize
Link copied to clipboard
open override fun getNewListSize(): Int
getOldListSize
Link copied to clipboard
open override fun getOldListSize(): Int

Sources

androidJvm source
Link copied to clipboard