public App()
        {
            InitializeComponent();
            var factory = new XamvvmFormsRxUIFactory(this);
            XamvvmCore.SetCurrentFactory(factory);

            MainPage = this.GetPageFromCache<DemoListViewPageModel>() as Page;
        }
Exemple #2
0
        public App()
        {
            var factory = new XamvvmFormsRxUIFactory(this);

            XamvvmCore.SetCurrentFactory(factory);
            factory.RegisterNavigationPage <MainNavigationViewModel>(() => this.GetPageFromCache <Features.Speakers.SpeakersViewModel>());

            MainPage = XamvvmCore.CurrentFactory.GetPageFromCache <MainNavigationViewModel>() as Page;
        }
Exemple #3
0
        public App()
        {
            InitializeComponent();
            var factory = new XamvvmFormsRxUIFactory(this);

            XamvvmCore.SetCurrentFactory(factory);

            MainPage = this.GetPageFromCache <DemoListViewPageModel>() as Page;
        }
Exemple #4
0
        void RegisterServicesAndProviders()
        {
            Locator.CurrentMutable.RegisterConstant(
                new RestPoolService(), typeof(IRestPoolService));

            var factory = new XamvvmFormsRxUIFactory(this);

            XamvvmCore.SetCurrentFactory(factory);
        }
Exemple #5
0
        public App()
        {
            InitializeComponent();

            //var factory = new XamvvmFormsPageFactory(this);
            var factory = new XamvvmFormsRxUIFactory(this);

            XamvvmCore.SetCurrentFactory(factory);

            //MainPage = new App1.MainPage();
            MainPage = new NavigationPage(new App1.Views.LoginPage());
            //MainPage = new App1.Views.LoginPage();
        }