android-pulltorefresh icon indicating copy to clipboard operation
android-pulltorefresh copied to clipboard

headerview show half problem

Open asfman opened this issue 13 years ago • 2 comments

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

asfman avatar Aug 11 '11 11:08 asfman

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.

johannilsson avatar Aug 11 '11 15:08 johannilsson

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

flyouting avatar Sep 09 '11 09:09 flyouting