Ejemplo n.º 1
0
        private void ImageButton_Clicked(object sender, EventArgs e)
        {
            MainViewModel     mainVm            = this.BindingContext as MainViewModel;
            var               locationViewModel = FishingLocationCarousel.CurrentItem as FishingLocationViewModel;
            PanoramaViewModel panViewModel      = new PanoramaViewModel(locationViewModel);

            panViewModel.WeatherIcon = mainVm.WeatherIcon;

            var locationPage = new FishingLocationPage(panViewModel);

            this.Navigation.PushAsync(locationPage);
        }
Ejemplo n.º 2
0
        private void ImageButton_Clicked(object sender, EventArgs e)
        {
            var locationPage = new FishingLocationPage(FishingLocationCarousel.CurrentItem as FishingLocationviewModel);

            this.Navigation.PushAsync(locationPage);
        }