I have class Like
public class Items {
public int icon;
public String label;
public String price;
public String offer;
public Items(){
super();
}
public Items(int icon, String label,String price,String offer) {
super();
this.icon = icon;
this.label = label;
this.price = price;
this.offer = offer;
}
}
And I created objects for that class like
Items items_data[] = new Items[]
{
new Items(R.drawable.ic_launcher, "Samsung","400","Hot Item"),
new Items(R.drawable.ic_launcher, "Samsung1","4001","Hot Item1"),
};
Now i need to display the above value in table row like In first row i have to display the first position and so on.. please help.
ListViewor inTableLayoutwithTableRows?