i have a xml parser with lazy adapter, i parse all the data to an list view.
now i would like to grabe all the data from the listivew(wiche is 1 textview per row) and put is in and string array but i have no idea how i have to do that. because if i Google i only get results on how to use and string array to populate the list.
my parser:
TextView txt =(TextView)vi.findViewById(R.id.tv);
HashMap<String, String> song = new HashMap<String, String>();
song = data.get(position);
txt.setText(song.get(MainActivity.KEY_TXT));
the method i use (so far) for getting my string array:
private String[] txt = {
}
thanks in advance.
ListView's adapter to get the data and put it in a string array? I hope you're not searching for theTextView's from theListView' rows with that code.