DiffCallback

object DiffCallback : DiffUtil.ItemCallback<Credential>

Allows RecyclerView to determine whether Credential items have changed in an update of the Credential list.

Has methods to determine whether content or Credential ID of items have changed.

Functions

areContentsTheSame
Link copied to clipboard
open override fun areContentsTheSame(oldItem: Credential, newItem: Credential): Boolean
areItemsTheSame
Link copied to clipboard
open override fun areItemsTheSame(oldItem: Credential, newItem: Credential): Boolean

Inherited functions

getChangePayload
Link copied to clipboard
open fun getChangePayload(@NonNull() p0: Credential, @NonNull() p1: Credential): Any?