Beispiel #1
0
        private void SelectedTask(object sender, ItemTappedEventArgs e)
        {
            var      task     = (TodoItem)listViewTasks.SelectedItem;
            EditTask editTask = new EditTask(listTasks, listCategory, task);

            //listViewTasks.SelectedItem = null;
            Navigation.PushAsync(editTask);
        }
Beispiel #2
0
        private void AddTask_Clicked(object sender, EventArgs e)
        {
            EditTask editTask = new EditTask(listTasks, listCategory, new TodoItem(this.Title, "", 0));

            Navigation.PushAsync(editTask);
        }