ChangedEvent

data class ChangedEvent<T>(collection: PersistentDataCollection<T>, changeType: DataCollection.ChangeType, index: Int, item: T)

Information about changed data within the collection.

Constructors

ChangedEvent
Link copied to clipboard
fun <T> ChangedEvent(collection: PersistentDataCollection<T>, changeType: DataCollection.ChangeType, index: Int, item: T)

Properties

changeType
Link copied to clipboard
val changeType: DataCollection.ChangeType
The change type.
collection
Link copied to clipboard
val collection: PersistentDataCollection<T>
The collection that was changed.
index
Link copied to clipboard
val index: Int
The item index affected by the change.
item
Link copied to clipboard
val item: T
The changed item.