文本文件  |  43行  |  2.07 KB

package android.arch.lifecycle {

  public class LifecycleService extends android.app.Service implements android.arch.lifecycle.LifecycleOwner {
    ctor public LifecycleService();
    method public android.arch.lifecycle.Lifecycle getLifecycle();
    method public android.os.IBinder onBind(android.content.Intent);
    method public void onStart(android.content.Intent, int);
  }

  public class ProcessLifecycleOwner implements android.arch.lifecycle.LifecycleOwner {
    method public static android.arch.lifecycle.LifecycleOwner get();
    method public android.arch.lifecycle.Lifecycle getLifecycle();
  }

  public class ServiceLifecycleDispatcher {
    ctor public ServiceLifecycleDispatcher(android.arch.lifecycle.LifecycleOwner);
    method public android.arch.lifecycle.Lifecycle getLifecycle();
    method public void onServicePreSuperOnBind();
    method public void onServicePreSuperOnCreate();
    method public void onServicePreSuperOnDestroy();
    method public void onServicePreSuperOnStart();
  }

  public class ViewModelProviders {
    ctor public deprecated ViewModelProviders();
    method public static android.arch.lifecycle.ViewModelProvider of(android.support.v4.app.Fragment);
    method public static android.arch.lifecycle.ViewModelProvider of(android.support.v4.app.FragmentActivity);
    method public static android.arch.lifecycle.ViewModelProvider of(android.support.v4.app.Fragment, android.arch.lifecycle.ViewModelProvider.Factory);
    method public static android.arch.lifecycle.ViewModelProvider of(android.support.v4.app.FragmentActivity, android.arch.lifecycle.ViewModelProvider.Factory);
  }

  public static deprecated class ViewModelProviders.DefaultFactory extends android.arch.lifecycle.ViewModelProvider.AndroidViewModelFactory {
    ctor public deprecated ViewModelProviders.DefaultFactory(android.app.Application);
  }

  public class ViewModelStores {
    method public static android.arch.lifecycle.ViewModelStore of(android.support.v4.app.FragmentActivity);
    method public static android.arch.lifecycle.ViewModelStore of(android.support.v4.app.Fragment);
  }

}