code: public static void registerLifeCycleObserver(@NonNull Application application, @NonNull LifecycleListener listener) {
          application.registerActivityLifecycleCallbacks(new LifeCycleController(listener).createLifecycleCallback());
      }
docs: Creates and registers application lifecycle listener.
  
  @param application {@link Application} instance.