Beispiel #1
0
        private async void ListViewScheduledAppointments_ItemTapped(object sender, ItemTappedEventArgs e)
        {
            TechDashboard.Models.App_ScheduledAppointment scheduledAppointment =
                e.Item as TechDashboard.Models.App_ScheduledAppointment;

            _listViewScheduledAppointments.SelectedItem = null; // so the item doesn't stay highlighted

            if (scheduledAppointment.IsCurrent)
            {
                // Just pop back to the root page which should already be showing what we want
                await Navigation.PopToRootAsync();
            }
            else
            {
                await Navigation.PushAsync(new TicketDetailsPage(scheduledAppointment));
            }
        }
 public ClockInPage(TechDashboard.Models.App_ScheduledAppointment scheduleDetail)
 {
     _vm = new ClockInPageViewModel(scheduleDetail);
     InitializePage();
 }