public App() { InitializeComponent(); var factory = new XamvvmFormsRxUIFactory(this); XamvvmCore.SetCurrentFactory(factory); MainPage = this.GetPageFromCache<DemoListViewPageModel>() as Page; }
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; }
public App() { InitializeComponent(); var factory = new XamvvmFormsRxUIFactory(this); XamvvmCore.SetCurrentFactory(factory); MainPage = this.GetPageFromCache <DemoListViewPageModel>() as Page; }
void RegisterServicesAndProviders() { Locator.CurrentMutable.RegisterConstant( new RestPoolService(), typeof(IRestPoolService)); var factory = new XamvvmFormsRxUIFactory(this); XamvvmCore.SetCurrentFactory(factory); }
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(); }