I have an array of contacts that I am constantly updating. I want my ListView to update with my contacts.
Should I use an Adapter for that? I cant find much information about Adapter online, so how do I make sure that my listview always has the contents of my Array? (I have been researching this for 4 and a half hours!)
For example, if I have an array that has the contents "apple" and "orange", then my list should also say "apple" and "orange".
If I chose to remove "apple", then my list should say just "orange". Basically, my list should always be the same as my array.
I saw this, but then how would I go about deleting and adding more items to my list?