Fixed
Status Update
Comments
cl...@google.com <cl...@google.com>
ma...@google.com <ma...@google.com>
le...@google.com <le...@google.com>
ap...@google.com <ap...@google.com> #2
Thanks for filing the issue.
This is a particularly hard device to come by - do you happen to have access to the device? If so could you provide us with the output of: adb shell dumpsys media.camera > info.txt
Thanks!
This is a particularly hard device to come by - do you happen to have access to the device? If so could you provide us with the output of: adb shell dumpsys media.camera > info.txt
Thanks!
Description
Component used: androidx.paging:paging-compose
Version used: 3.2.1
Devices/Android versions reproduced on: N/A
PageSize.Fixed
needs to be marked@Stable
(and probably adata class
). Currently it will cause recomposition of thePager
if recomposition starts above thePager
and you usePageSize
in a way that it gets compared for stability.The relevant line is here .
Example snippet (you'll need ):
recomposeHighlighter
In my specific use case, it made sense to
remember
thePageSize.Fixed
, because I was using a dynamic calculation based on the screen width, so that's how I found and worked around this bug.