Exemple #1
0
        private async void OnAddItem(object sender, EventArgs e)
        {
            Item itemToAdd = new Item(titleEntry.Text, notesEntry.Text);


            // pops our navigation stack, returning us to the previous page (TodoListPage)
            await Navigation.PopAsync();

            await TodoItemManager.AddItem(itemToAdd);
        }