How to enable fast scrolling for a ListFragment?
问题 I use a fragment activity to hold a list fragment which renders a bunch of products: public class ProductsListActivity extends SherlockFragmentActivity { @Override public void onCreate(Bundle savedInstanceState) { setTheme(R.style.Sherlock___Theme); super.onCreate(savedInstanceState); setContentView(R.layout.fragment_products_list); // setFastScrollEnabled(true) ? } } ... <!-- fragment_products_list.xml --> <?xml version="1.0" encoding="utf-8"?> <fragment xmlns:android="http://schemas.android