public Navigate animate(@Nullable Transitions transition) {
        if (application != null) {
            throw new IllegalArgumentException(
                    "You can't animate activity transition when using application context");
        }
        this.transition = transition;
        return this;
    }
public Navigate animate ( @ Nullable Transitions transition ) { if ( application != null ) { throw new IllegalArgumentException ( "You can't animate activity transition when using application context" ) ; } this . transition = transition ; return this ; }
Sets animation to be played when activity is entered / finished.