示例#1
0
        public SpotDetailsPage(Spot spot)
        {
            InitializeComponent();

            stackLayout.BindingContext = spot;

            viewModel = new SpotDetailsVM(spot);
            navButton.BindingContext = viewModel;
        }
 public NavigateToClickedSpotCommand(SpotDetailsVM spotDetailsVM)
 {
     this.SpotDetailsViewModel = spotDetailsVM;
 }