Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.os.Build;

import android.transition.Transition;

import android.transition.TransitionManager;

import android.view.ViewGroup;

public class Main {

    public static void beginDelayedTransition(ViewGroup sceneRoot, Transition transition) {
        if (transition != null) {
            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
                TransitionManager.beginDelayedTransition(sceneRoot, transition);
            }
        }
    }
}