Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

disable listview overscroll on samsung android

I need to totally disable overscroll in my listviews so I can implement my own overscroll functionality.

Seems to be simple enough when looking at the core listview classes, just by setting the overscroll mode to OVERSCROLL_NEVER. This doesn't do anything on my Samsung Galaxy s2. I have also tried to overwrite the overScrollBy function to do nothing. That doesn't work either.

Has anyone had much experience with samsung ListView customizations that can help me?

like image 894
Jonathan S. Avatar asked Jul 03 '11 16:07

Jonathan S.


2 Answers

Try this setOverScrollMode (int mode).. check this link out: http://developer.android.com/reference/android/widget/AbsListView.html#setOverScrollMode(int)

like image 134
ShineDown Avatar answered Sep 20 '22 06:09

ShineDown


Not my solution but check out https://gist.github.com/DHuckaby/3919939. Works for me. Stupid Samsung

like image 42
Dori Avatar answered Sep 21 '22 06:09

Dori