|  | @@ -4,7 +4,6 @@ import android.animation.Animator;
 | 
	
		
			
			| 4 | 4 |  import android.animation.AnimatorListenerAdapter;
 | 
	
		
			
			| 5 | 5 |  import android.animation.AnimatorSet;
 | 
	
		
			
			| 6 | 6 |  import android.content.Context;
 | 
	
		
			
			| 7 |  | -import android.support.annotation.Nullable;
 | 
	
		
			
			| 8 | 7 |  import android.view.View;
 | 
	
		
			
			| 9 | 8 |  
 | 
	
		
			
			| 10 | 9 |  import com.reactnativenavigation.parse.AnimationsOptions;
 | 
	
	
		
			
			|  | @@ -21,14 +20,9 @@ public class NavigationAnimator extends BaseAnimator {
 | 
	
		
			
			| 21 | 20 |          this.options = options;
 | 
	
		
			
			| 22 | 21 |      }
 | 
	
		
			
			| 23 | 22 |  
 | 
	
		
			
			| 24 |  | -    public void animatePush(final View view, @Nullable final AnimationListener animationListener) {
 | 
	
		
			
			|  | 23 | +    public void push(final View view, AnimationListener animationListener) {
 | 
	
		
			
			| 25 | 24 |          view.setVisibility(View.INVISIBLE);
 | 
	
		
			
			| 26 |  | -        AnimatorSet set;
 | 
	
		
			
			| 27 |  | -        if (options.push.content.hasValue()) {
 | 
	
		
			
			| 28 |  | -            set = options.push.content.getAnimation(view);
 | 
	
		
			
			| 29 |  | -        } else {
 | 
	
		
			
			| 30 |  | -            set = getDefaultPushAnimation(view);
 | 
	
		
			
			| 31 |  | -        }
 | 
	
		
			
			|  | 25 | +        AnimatorSet set = options.push.content.getAnimation(view, getDefaultPushAnimation(view));
 | 
	
		
			
			| 32 | 26 |          set.addListener(new AnimatorListenerAdapter() {
 | 
	
		
			
			| 33 | 27 |              @Override
 | 
	
		
			
			| 34 | 28 |              public void onAnimationStart(Animator animation) {
 | 
	
	
		
			
			|  | @@ -37,35 +31,26 @@ public class NavigationAnimator extends BaseAnimator {
 | 
	
		
			
			| 37 | 31 |  
 | 
	
		
			
			| 38 | 32 |              @Override
 | 
	
		
			
			| 39 | 33 |              public void onAnimationEnd(Animator animation) {
 | 
	
		
			
			| 40 |  | -                if (animationListener != null) {
 | 
	
		
			
			| 41 |  | -                    animationListener.onAnimationEnd();
 | 
	
		
			
			| 42 |  | -                }
 | 
	
		
			
			|  | 34 | +                animationListener.onAnimationEnd();
 | 
	
		
			
			| 43 | 35 |              }
 | 
	
		
			
			| 44 | 36 |          });
 | 
	
		
			
			| 45 | 37 |          set.start();
 | 
	
		
			
			| 46 | 38 |      }
 | 
	
		
			
			| 47 | 39 |  
 | 
	
		
			
			| 48 |  | -    public void animatePop(View view, @Nullable final AnimationListener animationListener) {
 | 
	
		
			
			| 49 |  | -        AnimatorSet set;
 | 
	
		
			
			| 50 |  | -        if (options.pop.content.hasValue()) {
 | 
	
		
			
			| 51 |  | -            set = options.pop.content.getAnimation(view);
 | 
	
		
			
			| 52 |  | -        } else {
 | 
	
		
			
			| 53 |  | -            set = getDefaultPopAnimation(view);
 | 
	
		
			
			| 54 |  | -        }
 | 
	
		
			
			|  | 40 | +    public void pop(View view, AnimationListener animationListener) {
 | 
	
		
			
			|  | 41 | +        AnimatorSet set = options.pop.content.getAnimation(view, getDefaultPopAnimation(view));
 | 
	
		
			
			| 55 | 42 |          set.addListener(new AnimatorListenerAdapter() {
 | 
	
		
			
			| 56 | 43 |              @Override
 | 
	
		
			
			| 57 | 44 |              public void onAnimationEnd(Animator animation) {
 | 
	
		
			
			| 58 |  | -                if (animationListener != null) {
 | 
	
		
			
			| 59 |  | -                    animationListener.onAnimationEnd();
 | 
	
		
			
			| 60 |  | -                }
 | 
	
		
			
			|  | 45 | +                animationListener.onAnimationEnd();
 | 
	
		
			
			| 61 | 46 |              }
 | 
	
		
			
			| 62 | 47 |          });
 | 
	
		
			
			| 63 | 48 |          set.start();
 | 
	
		
			
			| 64 | 49 |      }
 | 
	
		
			
			| 65 | 50 |  
 | 
	
		
			
			| 66 |  | -    public void animateStartApp(View view, @Nullable final AnimationListener animationListener) {
 | 
	
		
			
			|  | 51 | +    public void animateStartApp(View view, AnimationListener animationListener) {
 | 
	
		
			
			| 67 | 52 |          view.setVisibility(View.INVISIBLE);
 | 
	
		
			
			| 68 |  | -        AnimatorSet set = options.startApp.getAnimation(view);
 | 
	
		
			
			|  | 53 | +        AnimatorSet set = options.startApp.getAnimation(view, null);
 | 
	
		
			
			| 69 | 54 |          set.addListener(new AnimatorListenerAdapter() {
 | 
	
		
			
			| 70 | 55 |              @Override
 | 
	
		
			
			| 71 | 56 |              public void onAnimationStart(Animator animation) {
 |