notifyModelsChanged

open fun notifyModelsChanged()

Intelligently notify item changes by comparing the current models list against theprevious so you don't have to micromanage notification calls yourself. This may beprohibitively slow for large model lists (in the hundreds), in which case consider doingnotification calls yourself. If you use this, all your view models must implement and equals to completely identify theirstate, so that changes to a model's content can be detected. Before using this you must enableit with enableDiffing, since keeping track of the model state adds extra computationtime to all other data change notifications.

See also

#enableDiffing()

#enableDiffing()