1

Updating ListView using ArrayAdapter

view story
linux-howto

http://stackoverflow.com – I'm using a ListView inside a fragment but I'm having trouble updating the ListView. This is the code that I use for setting the adapter on my ListView adapter = new ArrayAdapter<String>(getActivity(), android.R.layout.simple_list_item_1, ((TabNavigation)this.getActivity()).getItems()); setListAdapter(adapter); where getItems() is a getter for the String array, named items: items= new String[]{"item 1", "item 2", "item 3", "item 4", "item 5", "item 6"}; At this point all works good: I can see in my list the six item. Now, if I try to update my arra (HowTos)