MutableLiveEvent

actual open class MutableLiveEvent<T> : LiveEvent<T>
expect class MutableLiveEvent<T> : LiveEvent<T>
actual open class MutableLiveEvent<T> : LiveEvent<T>

Constructors

Link copied to clipboard
constructor()
expect constructor()
constructor()

Functions

Link copied to clipboard
actual open override fun postValue(value: T)
expect fun postValue(value: T)

Post the value of the data on the next event loop cycle (if possible).

actual open override fun postValue(value: T)
Link copied to clipboard
actual open override fun setValue(value: T)
expect fun setValue(value: T)

Set the value of the data.

actual open override fun setValue(value: T)