1package androidx.lifecycle { 2 3 public class LifecycleRegistry extends androidx.lifecycle.Lifecycle { 4 ctor public LifecycleRegistry(androidx.lifecycle.LifecycleOwner); 5 method public void addObserver(androidx.lifecycle.LifecycleObserver); 6 method public androidx.lifecycle.Lifecycle.State getCurrentState(); 7 method public int getObserverCount(); 8 method public void handleLifecycleEvent(androidx.lifecycle.Lifecycle.Event); 9 method public void markState(androidx.lifecycle.Lifecycle.State); 10 method public void removeObserver(androidx.lifecycle.LifecycleObserver); 11 } 12 13 public abstract deprecated interface LifecycleRegistryOwner implements androidx.lifecycle.LifecycleOwner { 14 method public abstract androidx.lifecycle.LifecycleRegistry getLifecycle(); 15 } 16 17} 18 19