clear

Removes all elements from this MutableLiveData. The observers are notified of the new value if the list was changed.


@JvmName(name = "clearKV")
fun <K, V> MutableLiveData<Map<K, V>>.clear()

Removes all elements from a LiveData's Map, notifying observers of the new value.