mvvm-livedata
/
dev.icerock.moko.mvvm.utils
/
bind
android
ios
bind
android
ios
fun <
T
>
LiveData
<
T
>.
bind
(lifecycleOwner:
LifecycleOwner
, observer: (
T
?) ->
Unit
)
Content copied to clipboard
fun <
T
,
V
:
Any
>
LiveData
<
T
>.
bind
(view:
V
, setter:
V
.(
T
) ->
Unit
)
Content copied to clipboard