private async void SearchViewModel_SearchQueryChangedEvent() { try { if (textToSearch.Length > 2) { SearchQuery.Clear(); List <SoundCloudTrack> searchResult = await SoundCloudHelper.SearchTracks(textToSearch, 50); foreach (var result in searchResult) { SearchQuery.Add(result.title); } } } catch (Exception ex) { Logger.LogError(this, ex.Message); ShowErrorMessage("There was an error during searching tracks."); } }