Fixed
Status Update
Comments
jd...@xooloo.com <jd...@xooloo.com> #3
Ignore.
du...@google.com <du...@google.com> #4
It seems like we can repro the issue with embedded emulator. I used a stopwatch to record how long it takes for Google Sign-In page to load for the first time.
1, stand-alone emulator version (31.3.10): 4 seconds
2, embedded emulator (31.3.10): 15 seconds.
I am using Windows 10 with Intel Core i7-11850H@ 2.50GHz with 32GB RAM.
ap...@google.com <ap...@google.com> #5
Ranjit is also able to repro the issue on Windows with Intel CPU. The problem is essentially in the first network connection. I asked Ranjit to help me with bisection mentioned in #3.
Description
Component used: Paging3 Version used: alpha06 Devices/Android versions reproduced on: Android 7.1
I'm presenting a list of items using data from a room DB.
Note: The page size is intentionally low to try to debug paging issues, but is higher in production code.
The pager flow is used to produce
PagingData
passed to aPagingAdapter
.The RecyclerView uses a simple LinearLayoutManager.
Everything work mostly fine except that that latest entry may never be loaded while scrolling (especially when scrolling slowly). The PagingData properly provides a placeholder that is shown in the list, but it never trigger the loading of the last data, and so never replace the placeholder when reaching the end of the list.