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

            MainPage = this.GetPageFromCache<DemoListViewPageModel>() as Page;
        }
Exemplo n.º 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;
        }
Exemplo n.º 3
0
        public App()
        {
            InitializeComponent();
            var factory = new XamvvmFormsRxUIFactory(this);

            XamvvmCore.SetCurrentFactory(factory);

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

            var factory = new XamvvmFormsRxUIFactory(this);

            XamvvmCore.SetCurrentFactory(factory);
        }
Exemplo n.º 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();
        }