ListAdapter: View.GONE on some element

by arnouf » Tue, 14 Apr 2009 21:10:38 GMT


Sponsored Links
 Hi all,

I've a big issue...

In a ListView using a BaseAdpater extension, I would like hide some
entries (using View.GONE in my getView method).

The line is erase, but i've still grey line between each record.

How can I change that?

Thanks a lot!

Regards
--~--~---------~--~----~------------~-------~--~----~



ListAdapter: View.GONE on some element

by Dianne Hackborn » Wed, 15 Apr 2009 01:49:41 GMT


 That is not how ListView is supposed to work.  You need to make the actual
entry in the adapter disappear.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links