Remove them from the data set and update the adapter... I'm pretty sure what you're doing is not a good idea, though I' ve never tried it...
Peace, Dan On Oct 27, 8:13 am, Peter Berkenbosch <peter.berkenbo...@gmail.com> wrote: > Hello list, > > I must be missing something stupid.. but I a list with items that can be > marked as "done". The view also contains a button that has "Hide done items". > > in the adapter class I do a check in getView to set some elements on > Visibility.GONE when the item on the position has state "done" and the > toggleButton is set on "hide done items". > > However, the list is still taking up space. What could I do to make this > (simple?) toggle visibility work? > > Thanks. > > -- > Peter Berkenbosch > Sent with Sparrow (http://www.sparrowmailapp.com/?sig) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en