commons/ui / com.vmadalin.commons.ui.livedata / SingleLiveData / setValue

setValue

@MainThread fun setValue(value: T?): Unit

Sets the value. If there are active observers, the value will be dispatched to them.

Parameters

value - The new value

See Also

MutableLiveData.setValue