private async Task PerformSearch() { try { activityIndicator.IsRunning = true; grid.Focus(); await _collectionView.SearchAsync(search.Text); } finally { activityIndicator.IsRunning = false; } }
private async Task PerformSearch() { try { ActivityIndicator.StartAnimating(); Grid.BecomeFirstResponder(); await _collectionView.SearchAsync(SearchField.Text); } finally { ActivityIndicator.StopAnimating(); } }