johannilsson/android-pulltorefresh

headerview show half problem

Opened this issue · 2 comments

when listview' scrollHeight - listview's visibleHeight < headerview' height, setSelection(1) will cause the headerview show half

Thank you for the report. I'll be going away on vacation a couple of weeks, if you come up with an solution during that time please send a pull request. Sorry for not being able to look at this right away.

you can patch it by calling scrollListBy(1, 0); before setSelection(1); in the method onTouchEvent()