void OnPlusClicked(object sender, EventArgs args) { var todoItem = new TodoItem (); var todoPage = new RandomThingsForm (); todoPage.BindingContext = todoItem; Navigation.PushAsync (todoPage); }
public RandomThings1() { InitializeComponent (); listView.ItemSelected += (sender, e) => { var todoItem = (TodoItem)e.SelectedItem; var todoPage = new RandomThingsForm (); todoPage.BindingContext = todoItem; Navigation.PushAsync (todoPage); }; }