android / codelab-android-paging

Jetpack Paging codelab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

paging3 + rxjava2+ kotlin。 compile error

crazy1235 opened this issue · 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.

image

but kotlin there is a problem.

image

The problem has been solved!!!