安卓相当于iphone索引的UITableView [英] Android equivalent to iphone indexed UITableView

查看:96
本文介绍了安卓相当于iphone索引的UITableView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在移植一个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.

如果您通过<一个搜索Android的东西href="http://www.google.com/$c$csearch?q=package%3Aandroid+AlphabetIndexer&hl=en&btnG=Search+$c$c"相对=nofollow>谷歌code搜索,你会发现这个类的一些用途。

If you search for Android stuff via Google Code Search, you'll find a few uses of this class.

这篇关于安卓相当于iphone索引的UITableView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆