Assigned
Status Update
Comments
gu...@google.com <gu...@google.com> #2
- Application get crashed when Recylerview reach at end(last page). Inside GithubRemoteMediator.kt I have set val endOfPaginationReached = page > 2 to allow maximum 2 pages for testing. So, the problem is when I reach at the last page of list, application get crashed as remoteKeys.nextKey is null(as we have set nextKey=null for last page of list).
Do you have a stack trace for the crash you could share?
- Offline cache broken How to support caching when application is open without internet connection. currently it is showing retry button. How to show previously loaded data. I have tried to fix this by removing
This might be due to loadStateFlow / listener logic on the PagingDataAdapter which hides / shows UI elements based on load state. You'll want to modify that logic to only listen to remote errors and not the local ones as well.
Description
Problem you have encountered:
I.E GCS bucket contains files file1.txt, file2.txt & file3.txt Based on backend optimization algorithm, results from above files are saved as follows:
File1.txt & File2.txt --> output1.txt File3.txt --> output2.txt
or
File1.txt --> output1.txt File2.txt & File3.txt --> output2.txt
or
File1.txt ,File2.txt & File3.txt --> output1.txt
What you expected to happen:
File1.txt --> output1.txt
File2.txt --> output2.txt
File3.txt --> output3.txt
Steps to reproduce:
Other information (workarounds you have tried, documentation consulted, etc):