public void LoadNextSearchPage() { Context.instance.StartCoroutine(YleAPI.GetPrograms(_cachedSearchTerm, (_cachedPage + 1) * PageSize, PageSize, OnPageLoaded)); }
public void StartSearch(string searchTerm) { _cachedSearchTerm = searchTerm; _cachedPage = 0; Context.instance.StartCoroutine(YleAPI.GetPrograms(_cachedSearchTerm, 0, PageSize, OnSearchLoaded)); }