Thx! sounds good!  I'll than just go try to implement another method
of adding a header view :) I'll take a look at your sample!

-Moto

On Jul 2, 2:54 am, Mark Murphy <[email protected]> wrote:
> 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/commonsguyhttp://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

Reply via email to