I have encountered a really weird behavior of Fast Scroll function of ListView component (listView.setFastScrollEnabled(true);
) on Android 4.4, 5.0, 5.1 (4.2.2 and older versions work ok).
If the OnItemLongClickListener
is set on ListView the behavior is following:
1) Click on "Fast Scroll Slider" trigger onItemLongClick event on one of the items in the ListView (not necessarily on the item right under the slider).
2) The same thing happens when the slider is used for slow scrolling (slow movement of finger).
3) When the slider is used for fast scrolling, the "LongClick event animation" is triggered and the following graphical artifact is present after the action:
Tested many times with many ListView configurations.
Sample Test App source code is here: http://ge.tt/517ZIFC2/v/0
It is making the fast scroll function useless. Any idea how to solve this?