• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
UI.PNG
[Thumbnail for UI.PNG]
UI
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!