updateOnSuccess

inline fun <T> Result<T>.updateOnSuccess(liveData: MutableLiveData<T>)

Deprecated

Deprecated

Replace with

Use [Result<*>.data] instead

Updates the value of liveData if Result is of type Result.Success.