public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            _interactor = new InteractorRegEmail(DataService.RepositoryController.RepositoryRA, new ValidationRA());
            _presenter  = new PresenterRegEmail(_registrationEmail, _interactor, new RouterRegEmail(this), new RegEmailStylesHolderIOS <GlobalControlsTheme>(new ThemeParser <GlobalControlsTheme>()), DataService.RepositoryController.RepositoryRA.LangRA);
            _presenter.SetConfig();
        }
示例#2
0
        public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
        {
            _view = inflater.Inflate(Resource.Layout.RegEmailFragment, container, false);

            _viewRegEmail = _view.FindViewById <RegEmailView>(Resource.Id.reg_email_view);
            _presenter    = new PresenterRegEmail(_viewRegEmail, new InteractorRegEmail(DataService.RepositoryController.RepositoryRA,
                                                                                        new ValidationRA()), new RouterRegEmail(Activity), new RegEmailStylesHolderDroid <GlobalControlsTheme>(new ThemeParser <GlobalControlsTheme>()),
                                                  DataService.RepositoryController.RepositoryRA.LangRA);


            return(_view);
        }