private void _searchViewController_searchButtonPressed(string obj)
        {
            DismissViewController(_searchViewController);
            _moreSongsListViewController.SelectTopButtons(TopButtonsState.Select);

            currentPage          = 0;
            currentSearchRequest = obj;
            StartCoroutine(GetSearchResults(currentPage, currentSearchRequest));
        }
示例#2
0
        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));
            }
        }