aspose file tools*
The moose likes Android and the fly likes How to show Arraylist object values in proper table format in android Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "How to show Arraylist object values in proper table format in android" Watch "How to show Arraylist object values in proper table format in android" New topic
Author

How to show Arraylist object values in proper table format in android

Nehel Patel
Greenhorn

Joined: Feb 09, 2010
Posts: 21
Hi,

I have an Arraylist<Order>
Order object contains Order no, name and status as a string.

I want to poulate arraylist<order> in a table format with order no, name and status as columns.

i have used ListView with ArrayAdapter<Order> but i am getting only rows, i want to display as a table.
Please help me, which layout I have to use, and how to display on UI.

Currently I am displaying it like this,



and in adapter I have written like this,



I have attached UI , how it looks. Please help me to display in table form.

Thanks
Nehel



[Thumbnail for UI.PNG]

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to show Arraylist object values in proper table format in android