SetChange
The data describing changes to an ObservableSet.
A typical listener has the following structure :
val myListener = myObservableSet.addChangeListener { _, change ->
if ( change.removed.isNotEmpty() ) {
// Act on removed items
}
if ( change.added.isNotEmpty() ) {
// Act on data added.
}
}
Content copied to clipboard