add

fun <E> MutableLiveData<List<E>>.add(element: E): Boolean

Adds the specified element to the end of this MutableLiveData. The observers are notified of the new value.

Return

true because the list is always modified as the result of this operation.