General Diff Util

class GeneralDiffUtil<data : Any> : DiffUtil.ItemCallback<data>

DiffUtil used for Pagination in DevRecyclerViewPaginationAdapter

Author

Jimly A.

Since

26-Jul-22

Parameters

data

object of class to differ

Constructors

Link copied to clipboard
fun GeneralDiffUtil()

instance of GeneralDiffUtil

Functions

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

Sources

Link copied to clipboard