Home | History | Annotate | Download | only in lifecycle

Lines Matching refs:Lifecycle

17 package androidx.lifecycle;
27 import androidx.lifecycle.ReportFragment.ActivityInitializationListener;
30 * Class that provides lifecycle for the whole application process.
33 * {@link Lifecycle.Event#ON_CREATE} will be dispatched once and {@link Lifecycle.Event#ON_DESTROY}
34 * will never be dispatched. Other lifecycle events will be dispatched with following rules:
35 * ProcessLifecycleOwner will dispatch {@link Lifecycle.Event#ON_START},
36 * {@link Lifecycle.Event#ON_RESUME} events, as a first activity moves through these events.
37 * {@link Lifecycle.Event#ON_PAUSE}, {@link Lifecycle.Event#ON_STOP}, events will be dispatched with
45 * going to the background and you don't need a milliseconds accuracy in receiving lifecycle
108 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_START);
117 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_RESUME);
140 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_PAUSE);
146 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_STOP);
156 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_CREATE);
178 public Lifecycle getLifecycle() {