Android ListView Item Visibility
- by user1478754
I'm trying to create a screen that displays multiples items.
For this, I've created a listview but I'm not sure how to approach how to add/remove items from it.
Since I'm using custom listview items, I've created my own listadapter but now I need a way to add items on a button click.
Is there a way to create listview that can take an indefinite amount of items (instead of passing it in an fixed length array of View objects)?
Also what's the best way to remove items from listviews? setVisibility?