Updated AndroidX libraries

This commit is contained in:
M66B
2019-07-06 10:46:15 +02:00
parent 7c856c7a9e
commit 24ea54f034
4 changed files with 47 additions and 20 deletions

View File

@@ -23,6 +23,23 @@ package androidx.lifecycle;
*/
@SuppressWarnings("WeakerAccess")
public class MutableLiveData<T> extends LiveData<T> {
/**
* Creates a MutableLiveData initialized with the given {@code value}.
*
* @param value initial value
*/
public MutableLiveData(T value) {
super(value);
}
/**
* Creates a MutableLiveData with no value assigned to it.
*/
public MutableLiveData() {
super();
}
@Override
public void postValue(T value) {
super.postValue(value);