Interface Component.Transition
- Enclosing class:
Component
public static interface Component.Transition
Functional interface for screen enter/exit transition animations.
Implementations return a
Animation that will
be played on the component.-
Method Summary
-
Method Details
-
play
Creates the transition animation.- Parameters:
c- the component to animateentering- true if the component is entering, false if exiting- Returns:
- the animation to play
-