Fixed
Status Update
Comments
je...@google.com <je...@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!
vi...@gmail.com <vi...@gmail.com> #3
Comment has been deleted.
Description
Hierarchy:
Reproduction path:
1. Use this hierarchy:
<swiperefreshlayout>
<viewpager2 />
<swiperefreshlayout>
2. Set an adapter on VP2
3. Swipe left and/or right a few times. When the y distance between the swipe start and the current touch location is > touchSlop, the bug is triggered.
Workaround:
API >= 21: setNestedScrollingEnabled(true) on the direct child of the SRL
API < 21: Let the direct child of SRL implement NestedScrollingChild, and have it set isNestedScrollingEnabled to true. See attached SwipeRefreshChildLayout.kt as a reference implementation, which can be wrapped around the existing child of SRL.