Data inside android multiple column listview

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajatghai92
    New Member
    • Jan 2015
    • 1

    Data inside android multiple column listview

    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.
    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);
    Now how can i make my listview to feed data dynamically by using JSON data. Thanks in advance.
    Last edited by rajatghai92; Jan 18 '15, 09:03 AM. Reason: Providing more explanation
Working...