private void _searchViewController_searchButtonPressed(string obj) { DismissViewController(_searchViewController); _moreSongsListViewController.SelectTopButtons(TopButtonsState.Select); currentPage = 0; currentSearchRequest = obj; StartCoroutine(GetSearchResults(currentPage, currentSearchRequest)); }
private void _searchViewController_searchButtonPressed(string obj) { DismissViewController(_searchViewController); _moreSongsListViewController.SelectTopButtons(TopButtonsState.Select); if (!string.IsNullOrWhiteSpace(obj)) { currentSortSongs.Clear(); collectedPages = 0; currentPage = 0; currentSearchRequest = obj; StartCoroutine(GetSearchResults(currentPage, currentSearchRequest)); } }