Lines Matching refs:Lifecycle
19 import static androidx.lifecycle.Lifecycle.State.DESTROYED;
20 import static androidx.lifecycle.Lifecycle.State.STARTED;
36 * {@link Lifecycle.State#STARTED} or {@link Lifecycle.State#RESUMED}. An observer added via
41 * <p> An observer added with a Lifecycle will be automatically removed if the corresponding
42 * Lifecycle moves to {@link Lifecycle.State#DESTROYED} state. This is especially useful for
141 * The observer will only receive events if the owner is in {@link Lifecycle.State#STARTED}
142 * or {@link Lifecycle.State#RESUMED} state (active).
144 * If the owner moves to the {@link Lifecycle.State#DESTROYED} state, the observer will
154 * If the given owner is already in {@link Lifecycle.State#DESTROYED} state, LiveData
322 * lifecycle states aren't {@link Lifecycle.State#STARTED} or {@link Lifecycle.State#RESUMED}
365 public void onStateChanged(LifecycleOwner source, Lifecycle.Event event) {