interface DiffItemCallback<Data>
Interface used for adapting DiffCallback to custom data type
Data
- The class adaping this interface
Author
Camerash
abstract fun hasSameRepresentation(item: Data): Boolean
Provides information on whether the two items looks the same when shown to users You should compare resources shown to users here |
|
abstract fun isIdentical(item: Data): Boolean
Provides information on whether the two items are identical at a data level You should compare IDs or item-specific variables here |