Jetpack Paging codelab
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
crazy1235 opened this issue 3 years ago · comments
return repoService.searchRepos("${queryString}in:name,description", nextPageNumber, params.getLoadSize()) .subscribeOn(Schedulers.io()) .map(repoSearchResult -> toLoadResult()) .onErrorReturn(PagingSource.LoadResult.Error::new);
use java it's ok.
but kotlin there is a problem.
The problem has been solved!!!