Ejemplo n.º 1
0
        public async Task <ChannelVideoListResponse> FetchNextAsync()
        {
            if (!hasNext)
            {
                return(null);
            }

            ChannelVideoListResponse channelVideoListResponse = await _service.GetChannelVideoListAsync(_channelSeq, _count, currentPage);

            if (channelVideoListResponse.Videos.Count < _count)
            {
                hasNext = false;
            }

            currentPage++;

            return(channelVideoListResponse);
        }