notifyChanged

abstract fun notifyChanged(index: Int)(source)

Forces the model to notify listeners that index changed. This is useful when the model has mutable items that change their internal state in some way that observers need to know about. Such changes cannot be detected by the model directly, since it relies on reference comparisons to detect changes.

Parameters

index

that was changed