UpdatedList

interface UpdatedList<T> : ListChange<T> , ListChangeSet

RealmList flow event that describes that an update has been performed on the observed list. It provides a reference to the updated list and a set of properties that describes the changes performed on the list.

Properties

changeRanges
Link copied to clipboard
abstract val changeRanges: Array<ListChangeSet.Range>
The modified ranges of objects in the new version of the collection.
changes
Link copied to clipboard
abstract val changes: IntArray
The modified indices in the new version of the collection.
deletionRanges
Link copied to clipboard
abstract val deletionRanges: Array<ListChangeSet.Range>
The deleted ranges of objects in the previous version of the collection.
deletions
Link copied to clipboard
abstract val deletions: IntArray
The deleted indices in the previous version of the collection.
insertionRanges
Link copied to clipboard
abstract val insertionRanges: Array<ListChangeSet.Range>
The inserted ranges of objects in the new version of the collection.
insertions
Link copied to clipboard
abstract val insertions: IntArray
The inserted indices in the new version of the collection.
list
Link copied to clipboard
abstract val list: RealmList<T>