huu duy
huu duy

Reputation: 2059

Hide "pull to refresh" view when scroll up the listview in Android

I've integrated pull to refresh (chrisbanes) in my project. I have a problem that when I scroll up the list view, after the first item of the list view showed, the "pull to refresh" view showed in a short period of time (my finger has not touched the Android screen). I want that when the user performs a scroll action, the list view scrolls and stops at the first item, not showing the "pull to refresh" view.

Can anyone help me?

Upvotes: 1

Views: 991

Answers (1)

huu duy
huu duy

Reputation: 2059

Disable the OverScroll feature of listview would solve my problem.

android:overScrollMode="never"

Thank you!

Upvotes: 1

Related Questions