List of usage examples for android.view Window getEnterTransition
public Transition getEnterTransition()
From source file:Main.java
public static void removeListener(Window window, Transition.TransitionListener listener) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { window.getEnterTransition().removeListener(listener); }// w w w. j av a 2 s. co m }
From source file:Main.java
public static void addListener(Window window, Transition.TransitionListener listener) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { window.getEnterTransition().addListener(listener); }/*from w w w . ja va 2s. c om*/ }