On Thu, Jul 1, 2010 at 11:20 PM, Moto <[email protected]> wrote: > How can I remove the Header from a ListView?
If you are using addHeaderView(), you can't. I don't even think calling setAdapter() again will necessarily get rid of it. So, don't use addHeaderView(). Rather, create your own adapter that blends your main roster of Views with your header. While my MergeAdapter will not handle your specific case, you can use it to see the concept of blending multiple row sources: http://github.com/commonsguy/cwac-merge -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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

