plusAssign
Adds the specified element to the end of this MutableLiveData. The observers are notified of the new value.
operator fun <E> MutableLiveData<List<E>>.plusAssign(elements: Iterable<E>)
Content copied to clipboard
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.
operator fun <K, V> MutableLiveData<Map<K, V>>.plusAssign(map: Map<K, V>)
Content copied to clipboard
Appends all entries from the given map in a LiveData, notifying observers of the new value. Creates a map if the LiveData has no value yet.