This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

Nehel Patel
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

[Thumbnail for UI.PNG]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic