コード例 #1
0
        void IProfileRouter.NavigateToTerms()
        {
            var termsPresenterForProfile = new TermsPresenter(this as IProfileRouter);

            termsPresenterForProfile.IsFromProfile = true;
            HideToolbar();
            NavigateTo(new TermsFragment(termsPresenterForProfile), TransitionEffect.Push);
        }
コード例 #2
0
 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);
     }
 }
コード例 #3
0
        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);
            }
        }
コード例 #4
0
        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);
        }
コード例 #5
0
        public void CheckTermsAndMobile()
        {
            var presenter = new TermsPresenter(this);

            presenter.CheckUserTermsDetails();
        }