void IProfileRouter.NavigateToTerms() { var termsPresenterForProfile = new TermsPresenter(this as IProfileRouter); termsPresenterForProfile.IsFromProfile = true; HideToolbar(); NavigateTo(new TermsFragment(termsPresenterForProfile), TransitionEffect.Push); }
public void NavigateToTerms() { TermsStory = UIStoryboard.FromName("Terms", null); if (TermsStory.InstantiateViewController("TermsViewController") is TermsViewController termsViewController) { var presenter = new TermsPresenter(this); presenter.IsFromProfile = false; termsViewController.Presenter = presenter; PushViewController(termsViewController, true); DismissModalViewController(true); } }
public void NavigateToTerms() { UIStoryboard TermsStory = UIStoryboard.FromName("Terms", null); if (TermsStory.InstantiateViewController("TermsViewController") is TermsViewController termsViewController) { var presenter = new TermsPresenter(this); presenter.IsFromProfile = true; termsViewController.Presenter = presenter; TabBarController.TabBar.Hidden = true; PushViewController(termsViewController, true); } }
private void Initialize() { Common.CommonImpl.NotificationHandler.Instance.SetContext(this); ApplicationCore.Container.RegisterType <ISecureDataStorage, SecureStorageHandler>(this); ApplicationCore.Container.RegisterType <IDeviceHandler, DeviceHandler>(this); ApplicationCore.Container.RegisterInstance <INotificationService>(Common.CommonImpl.NotificationHandler.Instance); ApplicationCore.Container.RegisterSingletonType <IAnalytics, AnalyticsHandler>(); ApplicationCore.Instance.Initialize(); Common.CommonImpl.NotificationHandler.Instance.Register(); ApplicationCore.Container.Resolve <IAnalytics>().Initialize(); splashPresenter = new SplashPresenter(this); urlPresenter = new UrlPresenter(this); termsPresenter = new TermsPresenter(this as IStartupRouter); loginPresenter = new LoginPresenter(this); signupPresenter = new SignupPresenter(this); profilePresenter = new ProfilePresenter(this); mobilePhoneNumberPresenter = new MobilePhoneNumberPresenter(this); updatePresenter = new UpdatePresenter(this); }
public void CheckTermsAndMobile() { var presenter = new TermsPresenter(this); presenter.CheckUserTermsDetails(); }