本文只让fastscroll具有提示分组功能,但listview并不显示分组,如果想让分组的listview显示fastscroll,看下篇. 1,在listview中打开fastscroll 2,自定义fastscroll的样式,其中包括分组相关的样式 3,代码如下: 主要是实现了sectionIndexer接口 import java.util.ArrayList; import android.content.Context; import android.view.LayoutInfla…