public void bindAppStateToActivityLifeCycle(final boolean condition) {
        this.bindAppState = condition;
        if (condition) {
            /*register this Ui Component as an observer to the context of jmeSurfaceView only if this context is a LifeCycleOwner*/
            if (getContext() instanceof LifecycleOwner) {
                ((LifecycleOwner) getContext()).getLifecycle().addObserver(JmeSurfaceView.this);
                jmeSurfaceViewLogger.log(Level.INFO, "Command binding SurfaceView to the Activity Lifecycle.");
            }
        } else {
            /*un-register this Ui Component as an observer to the context of jmeSurfaceView only if this context is a LifeCycleOwner*/
            if (getContext() instanceof LifecycleOwner) {
                ((LifecycleOwner) getContext()).getLifecycle().removeObserver(JmeSurfaceView.this);
                jmeSurfaceViewLogger.log(Level.INFO, "Command removing SurfaceView from the Activity Lifecycle.");
            }
        }
    }
Binds/Unbinds the game life cycle to the holder activity life cycle.
Unbinding the game life cycle, would disable {@link JmeSurfaceView#gainFocus()}, {@link JmeSurfaceView#loseFocus()}
and {@link JmeSurfaceView#destroy()} from being invoked by the System Listener.
The Default value is : true, and the view component is pre-bounded to its activity lifeCycle when initialized.

@param condition true if you want to bind them, false otherwise.
jme3-android/src/main/java/com/jme3/view/surfaceview/JmeSurfaceView.java