Reputation: 119
I want to do a listview on android and it contains an alphabet near of the list (like iphone application).
I couldnt find any way to implement an list and having alphabets, when ı click on c letter list scrolling and start with the c Letter.
Thanks
Upvotes: 11
Views: 6540
Reputation: 364
I agree with Sergey Glotov, regarding Fastscroll, please take a look at sectionIndexer interface. Maybe these links(eg1 and eg2) will help you.
Upvotes: 0
Reputation: 1230
I tried to do the same and i ended up putting a list view and a textview into a frame layout and then using touch positions in conjunction with list.setslection() to focus...worked for me ! more here: Replication of Apple's Search in Android
Upvotes: 0
Reputation: 20346
May be FastScroll
fits to you?
http://developer.android.com/reference/android/widget/AbsListView.html#setFastScrollEnabled%28boolean%29
Upvotes: 1
Reputation: 3313
You can get it by using Database,manage a table to store parsed data and then display data in listview by fetching it database table, please refer the link for more about database in android http://developer.android.com/guide/topics/providers/content-providers.html
Upvotes: 0