文本文件  |  16行  |  720 B

package android.arch.lifecycle {

  public class MediatorLiveData<T> extends android.arch.lifecycle.MutableLiveData {
    ctor public MediatorLiveData();
    method public <S> void addSource(android.arch.lifecycle.LiveData<S>, android.arch.lifecycle.Observer<S>);
    method public <S> void removeSource(android.arch.lifecycle.LiveData<S>);
  }

  public class Transformations {
    method public static <X, Y> android.arch.lifecycle.LiveData<Y> map(android.arch.lifecycle.LiveData<X>, android.arch.core.util.Function<X, Y>);
    method public static <X, Y> android.arch.lifecycle.LiveData<Y> switchMap(android.arch.lifecycle.LiveData<X>, android.arch.core.util.Function<X, android.arch.lifecycle.LiveData<Y>>);
  }

}