void OnItemSelected(object sender, SelectedItemChangedEventArgs e) { var todoPage = new TodoItemPage(); todoPage.BindingContext = e.SelectedItem as TodoItem; Navigation.PushAsync(todoPage); }
void OnItemSelected (object sender, SelectedItemChangedEventArgs e) { var todoItem = e.SelectedItem as TodoItem; var todoPage = new TodoItemPage (); todoPage.BindingContext = todoItem; Navigation.PushAsync (todoPage); }
void OnAddItemActivated(object sender, EventArgs e) { var todoPage = new TodoItemPage(); todoPage.BindingContext = new TodoItem(); Navigation.PushAsync(todoPage); }
void OnAddItemClicked (object sender, EventArgs e) { var todoItem = new TodoItem (); var todoPage = new TodoItemPage (); todoPage.BindingContext = todoItem; Navigation.PushAsync (todoPage); }