我在移植一个iPhone应用程序到Android平台。其中一个观点有数据的一个非常大的列表,并在iPhone上的应用程序,有各种各样的右侧滚动条显示的英文字母,并允许用户通过列表这种方式快速滚动。我无法找到这样的功能在Android中。有没有实现这个简单的方法是什么?
I am porting an iPhone app over to the Android platform. One of the views has a very large list of data and on the iPhone app, there's a scrollbar of sorts on the right hand side that displays the letters of the alphabet and allows the user to quickly scroll through the list this way. I am having trouble finding such functionality in Android. Is there a simple way to implement this?
我觉得这是通过的 AlphabetIndexer ,虽然我还没有尝试过的个人。
I think this is implemented through AlphabetIndexer, though I have not tried it personally.
如果您通过谷歌code搜索,你会发现这个类的一些用途。
If you search for Android stuff via Google Code Search, you'll find a few uses of this class.