TomTomAndroidTools
api_livedata
/
com.tomtom.tools.android.api.livedata
/
set
set
@
MainThread
operator
fun
<
K
,
V
>
MutableLiveData
<
Map
<
K
,
V
>
>
.
set
(
key
:
K
,
valueToAdd
:
V
)
Content copied to clipboard
Maps
key
to
valueToAdd
in
LiveData
's value. Creates a map if the
LiveData
has no value yet.