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.

Example screenshots and code are posted here:
http://www.jsharkey.org/blog/2008/08/18/separating-lists-with-headers-in-android-09/

Let me know if anyone finds a better way, but this is a start for
now.  :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to