How to hide an item in a listview in Android -


i know, question asked before, haven't seen working answer it.

is there way hide items in listview without changing source data?

i tried set visibility of item view gone, won't displayed anymore, place reserved item still there.

i set:

android:dividerheight="0dp" android:divider="#ffffff" 

without success.

you can either write own listadapter or subclass 1 of existing ones.

in listadapter, filter out items not want displayed returning modified values getcount(), getitem() , getitemid() appropriate.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -