EmptyLiveData
An empty LiveData implementation for situations where we need a LiveData instance which will always have a null
value.
When using this, observers will receive a callback for the null
value of this instance. Because of this, EmptyLiveData can only be used for nullable types T. For non-nullable types T where no callback should be emitted, UnsetLiveData can be used instead.