addAll

fun <E> MutableLiveData<List<E>>.addAll(elements: Iterable<E>): Boolean

Adds all of the elements of the specified collection to the end of this MutableLiveData. The observers are notified of the new value if the list was changed.

The elements are appended in the order they appear in the elements collection.

Return

true if the MutableLiveData was changed as the result of the operation.