car/app/app/src/main/java/androidx/car/app/AppManager.java
/**
     * Requests the current template to be invalidated, which eventually triggers a call to {@link
     * Screen#onGetTemplate} to get the new template to display.
     *
     * @throws HostException if the remote call fails
     */
Requests the current template to be invalidated, which eventually triggers a call to {@link
Screen#onGetTemplate} to get the new template to display.

@throws HostException if the remote call fails
Requests the current template to be invalidated which eventually triggers a call to { @link Screen#onGetTemplate } to get the new template to display . @throws HostException if the remote call fails
public void invalidate() {
        mHostDispatcher.dispatch(
                CarContext.APP_SERVICE,
                "invalidate", (IAppHost host) -> {
                    host.invalidate();
                    return null;
                }
        );
    }
public void invalidate ( ) { mHostDispatcher . dispatch ( CarContext . APP_SERVICE , "invalidate" , ( IAppHost host ) -> { host . invalidate ( ) ; return null ; } ) ; }
Requests the current template to be invalidated, which eventually triggers a call to {@link
 Screen#onGetTemplate} to get the new template to display.
Requests the current template to be invalidated which eventually triggers a call to { @link Screen#onGetTemplate } to get the new template to display .