private async Task DoSearch() { try { Log.Info("Searching for [{0}]", SearchText); SetProgressBar("Searching..."); var items = await _apiClient.GetSearchHintsAsync(AuthenticationService.Current.LoggedInUser.Id, SearchText, null, null); if (items != null) { await GroupSearchResults(items.SearchHints.ToList()); } SetProgressBar(); } catch (HttpException ex) { Log.ErrorException("DoSearch()", ex); App.ShowMessage("Failed to run search"); } }