reset

fun reset(elements: List<T>)

Reset the data list to the given elements and notify listeners.