public override IUIViewControllerInteractiveTransitioning GetInteractionControllerForDismissal(IUIViewControllerAnimatedTransitioning animator) { return null; }
public IUIViewControllerInteractiveTransitioning GetInteractionControllerForDismissal(IUIViewControllerAnimatedTransitioning animator) { if (ForcesNonInteractiveDismissal) { return(null); } _animator.EndingViewForAnimation = _animator.NewAnimationViewFromView(EndingView); _interactionController.Animator = _animator; _interactionController.ShouldAnimateUsingAnimator = EndingView != null; _interactionController.ViewToHideWhenBeginningTransition = (StartingView != null) ? EndingView : null; return(_interactionController); }
public override IUIViewControllerInteractiveTransitioning GetInteractionControllerForDismissal(IUIViewControllerAnimatedTransitioning animator) { return(null); }
public override IUIViewControllerInteractiveTransitioning GetInteractionControllerForPresentation(IUIViewControllerAnimatedTransitioning animator) { // if our interactive flag is true, return the transition manager object // otherwise return nil //TODO: Fix this. Cast not working... return(null);// interactive ? SideMenuTransition.Current : null; }
public override IUIViewControllerInteractiveTransitioning GetInteractionControllerForDismissal(IUIViewControllerAnimatedTransitioning animator) { //TODO: Fix this. Cast not working... return(null);// interactive ? SideMenuTransition.Current : null; }
public IUIViewControllerInteractiveTransitioning GetInteractionControllerForDismissal(IUIViewControllerAnimatedTransitioning animator) => interactor.HasStarted ? interactor : null;
public override IUIViewControllerInteractiveTransitioning GetInteractionControllerForAnimationController (UINavigationController navigationController, IUIViewControllerAnimatedTransitioning animationController) { if (animationController == transitionController) return transitionController; return null; }
public IUIViewControllerInteractiveTransitioning GetInteractionControllerForDismissal(IUIViewControllerAnimatedTransitioning animator) { if (GestureRecognizer != null) { return(new SwipeTransitionInteractionController(GestureRecognizer, TargetEdge)); } return(null); }
public IUIViewControllerInteractiveTransitioning GetInteractionControllerForAnimationController(UITabBarController tabBarController, IUIViewControllerAnimatedTransitioning animationController) { UIViewController[] viewControllers = tabBarController.ViewControllers; if (PanGestureRecognizer.State == UIGestureRecognizerState.Began || PanGestureRecognizer.State == UIGestureRecognizerState.Changed) { return(new SlideTransitionInteractionController(PanGestureRecognizer)); } return(null); }
public IUIViewControllerInteractiveTransitioning GetInteractionControllerForPresentation(IUIViewControllerAnimatedTransitioning animator) { return(this.DisableInteractiveTransitioning ? null: this.PresentInteractor); }
public override IUIViewControllerInteractiveTransitioning GetInteractionControllerForPresentation(IUIViewControllerAnimatedTransitioning animator) { throw new System.NotImplementedException(); }
public IUIViewControllerInteractiveTransitioning GetInteractionControllerForDismissal(IUIViewControllerAnimatedTransitioning animator) { return(this.DisableInteractiveTransitioning? null: this.DismissInteractor); }
public ViewControllerTransitioningDeligate(IUIViewControllerAnimatedTransitioning show, IUIViewControllerAnimatedTransitioning hide) { this._showTransition = show; _hideTransition = hide; }
public override IUIViewControllerInteractiveTransitioning GetInteractionControllerForAnimationController(UINavigationController navigationController, IUIViewControllerAnimatedTransitioning animationController) { transition=new SlideLeftRight (reversed); return transition; }
public override IUIViewControllerInteractiveTransitioning GetInteractionControllerForAnimationController(UINavigationController navigationController, IUIViewControllerAnimatedTransitioning animationController) { return(InteractiveTransition); }
public IUIViewControllerInteractiveTransitioning GetInteractionControllerForDismissal(IUIViewControllerAnimatedTransitioning animator) => swipeInteractionController.InteractionInProgress ? swipeInteractionController : null;
public override IUIViewControllerInteractiveTransitioning GetInteractionControllerForAnimationController (UINavigationController navigationController, IUIViewControllerAnimatedTransitioning animationController) { return InteractiveTransition; }
public override IUIViewControllerInteractiveTransitioning GetInteractionControllerForPresentation(IUIViewControllerAnimatedTransitioning animator) { return(_interactor.HasStarted ? _interactor : null); }