code: @UiThread
      public static void tryDelayed(ViewGroup sceneRoot) {
          if (!sceneRoot.isLaidOut()) { // transition won't run
              return;
          }
          if (sDelayedTransition == null) {
              sDelayedTransition = new AutoTransition().addListener(new SimpleTransitionListener() {
                  @Override
                  public void onTransitionEnd(Transition transition) {
                      super.onTransitionEnd(transition);
                      sDelayedTransitionRunning = false;
                  }
              });
          }
          if (!sDelayedTransitionRunning) {
              sDelayedTransitionRunning = true;
              TransitionManager.beginDelayedTransition(sceneRoot, sDelayedTransition);
          }
      }
docs: {@link TransitionManager#beginDelayedTransition(ViewGroup) Begin a delayed transition} if
  one is not already running.