예제 #1
0
		public async Task NavigateToDetailsAsync (Route route)
		{
			await App.Current.MainPage.Navigation.PushAsync (new DetailsView (route));
		}
예제 #2
0
 public DetailsView(Route route)
 {
     InitializeComponent ();
     this.BindingContext = Ninja.Get<DetailsViewModel> (new ConstructorArgument("route", route));
 }
예제 #3
0
		public DetailsViewModel (Route route, IRouteRepository routeRepository)
		{
			_routeRepository = routeRepository;

			this.Route = route;
			this.LoadAsync ();
		}