Separating ListView into Sections using Headers

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

Separating ListView into Sections using Headers

Postby KennetRose » Mon Mar 28, 2011 8:39 am

Separating ListView into Sections using Headers

In the new 0.9 SDK, you might have seen ListViews split into sections
using grey header bars with text in them. (Such as the browser
settings list.) This is an excellent UI tool, and can really help
organize activities.

Since there isn't an "official" way of creating these sectioned lists,
I've put together an abstract way of stitching together multiple
Adapters into a single header-ized Adapter
KennetRose
Developer
Developer
 
Posts: 29
Joined: Thu Dec 23, 2010 7:18 am

Top

Re: Separating ListView into Sections using Headers

Postby ramesh.kec.85 » Thu Nov 24, 2011 8:24 am

If you want to simple list items with headers ,it is possible with preference activities.


I find out the solution here.http://www.anddev.org/code-snippets-for-android-f33/alphabetical-listview-in-android-t56983.html
Thanks

Regards
--R@mesh
ramesh.kec.85
Developer
Developer
 
Posts: 27
Joined: Sat Jul 30, 2011 10:05 am
Location: Ahmedabad

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: Google [Bot] and 4 guests