1// Signature format: 4.0
2package androidx.lifecycle {
3
4  public abstract class LiveData<T> {
5    ctor public LiveData();
6    method public T? getValue();
7    method public boolean hasActiveObservers();
8    method public boolean hasObservers();
9    method @MainThread public void observe(androidx.lifecycle.LifecycleOwner, androidx.lifecycle.Observer<? super T>);
10    method @MainThread public void observeForever(androidx.lifecycle.Observer<? super T>);
11    method protected void onActive();
12    method protected void onInactive();
13    method protected void postValue(T!);
14    method @MainThread public void removeObserver(androidx.lifecycle.Observer<? super T>);
15    method @MainThread public void removeObservers(androidx.lifecycle.LifecycleOwner);
16    method @MainThread protected void setValue(T!);
17  }
18
19  public class MutableLiveData<T> extends androidx.lifecycle.LiveData<T> {
20    ctor public MutableLiveData();
21    method public void postValue(T!);
22    method public void setValue(T!);
23  }
24
25  public interface Observer<T> {
26    method public void onChanged(T!);
27  }
28
29}
30
31