Closed mehul4795 closed 5 years ago
Hi mehul4795,
When the model does not implement the Diffable interface there is indeed a bug.
After testing some cases of fast scrolling with almost no delay I did not find any issue when the model is implementing the Diffable interface. Please be sure you are implementing the Diffable interface properly and tell me the bug still happens.
Hi, idanatz.
I followed the doc and implemented the Diffable interface but still facing the same problem :(
Can you please share a minimal project that includes this bug, for me to test?
I am using OneAdapter in a demo project. I have added you as a Collaborator. Please check.
Thanks, Found the bug, the logic behind the paging was incorrect when fast scrolling and using different layout managers other than Linear. Will be fixed in the next version 💪
That's great. Waiting for the next version. 😍
I am using OneAdapter along with the Paging module to load images gradually from an API. The problem is that if I scroll the list rapidly the paging stops and no more data is loaded after 3-4 pages.
I am attaching the all the necessary code that I am using below.
HomeFragment
ItemModule
PagingModule