forEach
Performs operation on each entry in a LiveData's collection. Does nothing if the LiveData has no value.
fun <K, V> LiveData<out Map<K, V>>.forEach(operation: (Map.Entry<K, V>) -> Unit)
Content copied to clipboard
Performs operation on each entry in a LiveData's Map. Does nothing if the LiveData has no value.