listview with items seperated alphabetically like contacts

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

listview with items seperated alphabetically like contacts

Postby achie1266 » Wed Dec 23, 2009 7:09 pm

Hello all,

I have a list view some hundreds of items and I want to customize the list like in contacts application.

ie., I want to separate the items alphabetically[their starting letter] and put a divider with that alphabet just like in the contacts application. Can someone let me know how to do that.

Thank you.
achie
User avatar
achie1266
Master Developer
Master Developer
 
Posts: 223
Joined: Mon Nov 09, 2009 10:56 pm
Location: Denver

Top

Postby qlimax » Wed Dec 23, 2009 8:53 pm

¯`·.¸¸.><((((º>¯`·.¸¸. ><((((º>
User avatar
qlimax
Master Developer
Master Developer
 
Posts: 271
Joined: Mon Aug 31, 2009 10:54 am
Location: Swiss

Postby achie1266 » Wed Dec 23, 2009 9:25 pm

Thank you,

That will atleast give me start and direct me to what I need to lookout for.

Merry Xmas
achie
User avatar
achie1266
Master Developer
Master Developer
 
Posts: 223
Joined: Mon Nov 09, 2009 10:56 pm
Location: Denver

Postby Droid123 » Thu Dec 24, 2009 11:15 am

I'm also interested in doing this, i'll give it a try as well
Droid123
Experienced Developer
Experienced Developer
 
Posts: 77
Joined: Sat Nov 21, 2009 1:21 pm

Postby qlimax » Fri Jan 08, 2010 12:12 am

¯`·.¸¸.><((((º>¯`·.¸¸. ><((((º>
User avatar
qlimax
Master Developer
Master Developer
 
Posts: 271
Joined: Mon Aug 31, 2009 10:54 am
Location: Swiss

Postby achie1266 » Fri Jan 08, 2010 12:36 am

Hey qlimax

saw the links that you have posted the last time but post phoned it for later as I have too much stuff on my plate right now.

I will definitely look at your code sometime this weekend. I have a bunch of listViews in my app and I really need this functionality.

You probably saved a day of my work and time :) I owe u a beer.

Thanks a lot.
achie
User avatar
achie1266
Master Developer
Master Developer
 
Posts: 223
Joined: Mon Nov 09, 2009 10:56 pm
Location: Denver

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 7 guests