Closed johnjake closed 3 years ago
Not an issue with the codelab.
return MediatorResult.Success(endOfPaginationReached = !response.results.isEmpty()!!) should be return MediatorResult.Success(endOfPaginationReached = response.results.isNullOrEmpty())
I try using it in the movie api, and works fine without room, but when I loaded the result first to room or using Mediator I am only getting one page and cannot load the next page. If someone having the same issue and solve it, I really appreciate if you could pinpoint or share the solution. Thanks and best regards.