I have a layout defined with some buttons, and a ListView widget. I also have a layout xml defined for each row in the ListView, with 2 TextViews. I also have data in the format List<String[]> where the String[] is populated with 3 items. I want to display the data in the ListView, with 2 of the 3 items from the String array (contained in each element of the list) assigned to one of the TextView rows in the ListView layout.
I can get a ListView, using one of the default views, to display the full list of just a single item in the array, by breaking it down into a single array of values, and using ArrayAdapter<String>, but I dont know how to do it for multiple rows in the ListView layout.
Would much appreciate any help.
Also, in addition, if the data in the original List<String[]> list should change, how can I refresh the ListView widget?
Thanks for any advice.