Assigned
Status Update
Comments
cl...@google.com <cl...@google.com> #2
Hello, can you please attach a sample that reproduces your error?
No update yet.
Hello, can you please attach a sample that reproduces your error?
Description
Currently when users enable placeholders in PagingConfig, Paging does not check whether itemsBefore and itemsAfter is implemented.
If users did not override
LoadResult.page.itemsBefore/itemsAfter
's default valueInt.MIN_VALUE
with their own implementation, users would see wrong jumping behavior.Ideally we want to check for and log that discrepancy. Also, add documentation defining the relationship between
PagingConfig.enablePlaceholders
anditemsBefore/itemsAfter
.