Android的:如何填充字母索引和fastscroll一个ListView在联系人应用程序? [英] Android : How to populate a ListView with alphabet indexer and fastscroll as in contacts app.?
问题描述
我想实现与fastscroll和albhabet索引一个ListView在联系人应用程序。我使用的是SimpleAdapter来填充ListView。由于从图像中看出,在恰当的选择,从字母索引一个字母,列表视图选择进入相应的列表项。如何做到这一点?请大家帮帮忙。
I would like to implement a ListView with fastscroll and albhabet indexer as in the contacts application. I'm using a SimpleAdapter to populate the ListView. As seen from the image, by selecting a letter from the alphabet indexer at the right, the listView selection goes to the corresponding ListItem. How to accomplish this? Please help.
推荐答案
正如我不能看到你贴的形象,但我觉得
As I can't see your posted image, but I think
下面是一段实施部分索引在Android作为iPhone有, 你也应该参考Sectionindexer和放大器; alphabetindexer这样的自定义实现。
Here is the way to implement Section Indexing in Android as iPhone has, You should also refer Sectionindexer & alphabetindexer for such custom implementation.
- https://github.com/emilsjolander/StickyListHeaders
- https://github.com/JimiSmith/PinnedHeaderListView
- http://hello-android.blogspot.com/十一分之二千零十/ sideindex换android.html
- https://github.com/emilsjolander/StickyListHeaders
- https://github.com/JimiSmith/PinnedHeaderListView
- http://hello-android.blogspot.com/2010/11/sideindex-for-android.html
试试这个,希望这就是你需要的。
Try this, Hope this what you need..
这篇关于Android的:如何填充字母索引和fastscroll一个ListView在联系人应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!