void OnItemSelected(object sender, SelectedItemChangedEventArgs e) { StoreMobile.TicketObject ticket = (StoreMobile.TicketObject)e.SelectedItem; //ticket.Init(ticket); var todoPage = new TicketDetailListPage(ticket.Id); todoPage.BindingContext = ticket; Navigation.PushAsync(todoPage); }
void OnAddItemClicked(object sender, EventArgs e) { var ticket = new TicketObject(); //var OnlineProduct = new OnlineProduct () { // Id = Guid.NewGuid ().ToString () //}; var todoPage = new TicketDetailListPage(0); todoPage.BindingContext = ticket; Navigation.PushAsync(todoPage); }
void OnAddItemClicked(object sender, EventArgs e) { var detail = new TicketDetailListPage(ticketId); Navigation.PushAsync(detail); }