I want to add data to my listview. I want to make my data appear dynamic. I will be using JSON as a resource from server. I have created custom adapter for my listview. I have put static data by following tutorial from multicolumn listview.
I am using below code to add static data.
Now how can i make my listview to feed data dynamically by using JSON data. Thanks in advance.
I am using below code to add static data.
Code:
HashMap<String,String> temp=new HashMap<String, String>(); temp.put(FIRST_COLUMN, "Ankit Karia"); temp.put(SECOND_COLUMN, "Male"); temp.put(THIRD_COLUMN, "22"); temp.put(FOURTH_COLUMN, "Unmarried"); list.add(temp);