notifyChanges

fun notifyChanges(oldItems: List<T>, newItems: List<T>)

Notifies the adapter of changes between old and new lists of data.

Parameters

oldItems

old list of data.

newItems

new list of data.