omadahealth / SwipyRefreshLayout

A SwipeRefreshLayout extension that allows to swipe in both direction
MIT License
963 stars 218 forks source link

Fixed the bug, that issued the bottom circle to be displayed wrong. #12

Closed darktimes closed 9 years ago

darktimes commented 9 years ago

While using your extended variation of SwipeRefreshLayout, I run into the bug. While pulling from bottom (using Direction.BOTH) the circle indicator with arrow moved out of the screen pretty fast. I compared your code with SwipeRefreshLayoutBottom and noticed, that the offset is calculated a bit diffrent way. I brought it back, how it was at initial version and everything worked. Correct me, if I missed something.

oliveeyay commented 9 years ago

Merged thanks