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