> How can i use addHeaverView with widgets i have setup in the layout
> xml file?

You can't. Either construct them in Java or move them into a separate
layout file, inflate them "by hand" (i.e., getLayoutInflater().inflate()),
and add them that way.

>> Is the use of  your MergeAdapter a good idea for me?

Possibly. If all you need are header and footer views, it is simpler just
to use ListView's built-in facilities for that. If you need something more
elaborate, MergeAdapter is a candidate.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



--~--~---------~--~----~------------~-------~--~----~
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