The right scroll bar of Android listview enables method sharing
Many developers don't know how to enable the fast scrolling slider of the listview list control. Here, Android Development Network tells you that the auxiliary scrolling slider only needs one line of code. If you use XML layout, you only need to add the attribute Android: fastscrollenabled = "true" in the listview node, For Java code, you can use mylistview. Setfastscrollenabled (true); To control enabling, and the parameter false is hidden. Another point is that when your scrolling content is small and less than 3 screen heights of the current listview, this fast scrolling slider will not appear. At the same time, this method is still the basic method of abslistview. You can use fast scrolling assistance in subclasses such as listview or GridView.