Page GetMainPage() { var hp = new HomePage(); var nav = new Navigator(hp.Navigation); var runner = new DeviceRunner(testAssemblies, nav, new ResultListener(writer)); var vm = new HomeViewModel(nav, runner); hp.BindingContext = vm; return new Xamarin.Forms.NavigationPage(hp); }
private Page GetMainPage() { var hp = new HomePage(); var vm = new HomeViewModel(hp.Navigation, testAssemblies, this); hp.BindingContext = vm; return new NavigationPage(hp); }