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?
Try this setOverScrollMode (int mode).. check this link out: http://developer.android.com/reference/android/widget/AbsListView.html#setOverScrollMode(int)
Not my solution but check out https://gist.github.com/DHuckaby/3919939. Works for me. Stupid Samsung
How about below code:
@Override
protected float getTopFadingEdgeStrength() {
return 0.0f;
}
@Override
protected float getBottomFadingEdgeStrength() {
return 0.0f;
}
Answer inspired from @cdhabecker Android ScrollView fading edge
New RecyclerView can be used instead of ListView
to tackle the problem.