sprockets/src/main/java/net/sf/sprockets/transition/Transitions.java
@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);
        }
    }
@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);
        }
    }
@ 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 ) ; } }
{@link TransitionManager#beginDelayedTransition(ViewGroup) Begin a delayed transition} if
one is not already running.
{