Assigned
Status Update
Comments
cl...@google.com <cl...@google.com> #2
I can't run your app without AUTH_TOKEN
in fun providesHttpClient()
.
You can upload a restricted sample here app as attachment to your message by selecting the Restrict this comment/attachment
so that its not available to the public.
If you'd rather not do that, can you enable Paging log with adb shell setprop log.tag.Paging VERBOSE
and paste the log here?
pr...@gmail.com <pr...@gmail.com> #3
Hi, sorry for the late response, I have attached the project here. Please take a look. Thanks
cl...@google.com <cl...@google.com> #4
Hi thanks for your patience. I tried running your app but its requires its own copy of javac. Can you please upload a simple, minimal project?
pr...@gmail.com <pr...@gmail.com> #5
Its already a minimal project. Doesn’t require any javac, I just extracted and opened it in android studio (tried in a different laptop as well). It works fine.
so...@gmail.com <so...@gmail.com> #6
I have encountered the same problem. Finally, I found that because the primary key id of the content data stored in my database is of int type, SQLite defaults to sorting in ascending order according to id, resulting in the inconsistency between the actual data order obtained from the network and the order in the database.
Solution: Do not directly use id type of int or long as the primary key, you can consider using string type. Or use a custom primary key. It works for me.
Solution: Do not directly use id type of int or long as the primary key, you can consider using string type. Or use a custom primary key. It works for me.
Description
Pager
RemoteMediator
Version used:
3.2.1
Devices/Android versions reproduced on:
Android 14
If this is a bug in the library, we would appreciate if you could attach:
- Sample project to trigger the issue.
- A screenrecord or screenshots showing the issue (if UI related).
The problem is:
It always loads page 1 and page 2, after thant LoadType.APPEND is never called again even when I scroll to the bottom of the list.