On Thu, Jun 25, 2009 at 8:46 AM, Mike <[email protected]>wrote:

>
> Thanks guys.  This does work provided the ListView and the header View
> are within the same parent ViewGroup.


Can you give an example of when they would not be?


> I would, however, like to request that the ListView be enhanced with
> two new methods:
>
> void addHeaderView(View v, Object data, boolean isSelectable, boolean
> scrollsWithContent)
> void addFooterView(View v, Object data, boolean isSelectable, boolean
> scrollsWithContent)
>
> This would allow a dev to leave management of the headers and footers
> entirely with the ListView and provide the ability to have "sticky"
> headers and footers that are owned by the ListView.


What's the advantage of this over putting your headerview above the ListView
in a LinearLayout?

--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to