CarAppService, Session, and Screen lifecycles

The Session and Screen classes implement the LifecycleOwner interface. As the user interacts with the app, lifecycle callbacks of your Session and Screen objects are invoked, as illustrated in Figures 1 and 2.

CarAppService and Session lifecycles

To learn more, see the Session.getLifecycle method.

Figure 1. Session lifecycle.

Screen lifecycle

To learn more, see Screen.getLifecycle method.

Figure 2. Screen lifecycle.