public void onPostResume() {
    for (ActivityLifecycleListener listener : mActivityLifecycleListeners) listener.onPostResume();

    mSkyEngine.onAppLifecycleStateChanged(AppLifecycleState.RESUMED);
  }
 public void onPause() {
   mSkyEngine.onAppLifecycleStateChanged(AppLifecycleState.PAUSED);
 }