etsy/AndroidStaggeredGrid

StaggeredGridView inside of SwipeRefreshLayout in landscape bug

edcheezburger opened this issue · 1 comments

I have a StaggeredGridView inside of a android.support.v4.widget.SwipeRefreshLayout. It's working great except when the device is in landscape and the number of columns in the StaggeredGridView is set to 1.

In this case, the SwipeRefreshLayout's refresh will trigger when you swipe up in the middle of the list. Specifically when an item in the middle of the list takes up more than the whole screen, swiping up will trigger a refresh. (expected behavior is the list scrolls up, and the refresh only triggers at the top of the list). It's similar to this issue with a RecyclerView [ https://code.google.com/p/android/issues/detail?id=78191 ].

Thanks for looking into this!

Ops, wasn't actually using StaggeredGridView -- sorry!