samples/TodoApp/TodoApp.iOS/ViewControllers/HomeViewController.cs
/// <summary>
/// Event handler called when the Add Item button is clicked.
/// </summary>
Event handler called when the Add Item button is clicked.
Event handler called when the Add Item button is clicked .
protected async Task OnAddItemClicked()
        {
            var newItemTitle = await ShowAddItemDialogAsync();
            var newItem = new TodoItem { Title = newItemTitle };
            await TodoService.SaveItemAsync(newItem);
        }
protected async Task OnAddItemClicked ( ) { var newItemTitle = await ShowAddItemDialogAsync ( ) ; var newItem = new TodoItem { Title = newItemTitle } ; await TodoService . SaveItemAsync ( newItem ) ; }
Event handler called when the Add Item button is clicked.
Event handler called when the Add Item button is clicked .