-
Notifications
You must be signed in to change notification settings - Fork 147
Problem with SwipeRefreshLayout #54
Comments
Based on my testing, this only happens when the EnhancedListView is scrolled all the way to the top. A downward dragging motion causes the SwipeRefreshLayout to start its swipe animation. One possible solution I could imagine would be exposing mSwiping via getter, and using that value in a custom SwipeRefreshLayout to override SwipeRefreshLayout.canChildScrollUp:
|
Confirmed using my fork (goldenspiral):
You might be also able to write the callbacks in a different way and just disable the SwipeRefreshLayout where I'm setting the boolean flag here. |
Yes, you are right, that it happens only when EnhancedListView is scrolled all the way to the top. Your solution looking good, but there is no method setSwipeCallback and no OnSwipeCallback in EnhancedListView class. |
I added it in my fork. Goldenspiral/EnhancedListView.
|
Oh, I see, Thank you |
Hi, I'm using your EnhancedListView and it's great, but I have problem with it in combination with SwipeRefreshLayout from support library. If you swipe verticaly during swiping horizontaly it stops the item at the place and doesn't put it to right place. I'm cliping the image.
The text was updated successfully, but these errors were encountered: