I am following this example to implement the paging library, using the TMDB Api.
As I scroll down the list reaching a boundary condition, it will always scroll back up to page 1.
I think there is some issues going on with the RemoteMediator class causing this issue, but I am almost copying from the Google example...
Below is my log. I am scrolling down the list here.
I guess the problem is that "LoadType = PREPEND" is called as I scroll down the list. The adapter first APPEND the next page, but then detects a boundary condition at the top of the next page and decide to do a PREPEND, which cause the issue? I am not sure how to solve this issue. I have tried changing the config of the pager, but it doesn't work.
Thanks in advance!
