The android.widget.ListView class provides a method called setFastScrollEnabled that allows the user to quickly scroll through the elements of a list without having to hold and drag the scrollbar. When fast scroll is enabled, a thumb appears on the right-hand side of the list which can be dragged up or down to navigate quickly.
Example 1: The following code enables fast scrolling in a ListView object named "listView":
This example enables fast scrolling in a ListView called "myList" in an app called "MainActivity".
The package library for the ListView class is "android.widget".
Java ListView.setFastScrollEnabled - 30 examples found. These are the top rated real world Java examples of android.widget.ListView.setFastScrollEnabled extracted from open source projects. You can rate examples to help us improve the quality of examples.