0

I would like to create a ListView like this, for example:

JOHN           ANDREW          LUKE
01               15             55
10               25             60
12               30   

that is, each column with its data, in practice each name must be the header of each column .... how can I set the Adapter? Do you have any idea?

I looked around but I could not find examples. Thank You

JJkk
  • 133
  • 1
  • 9

1 Answers1

0

You probably want to use a GridView for this. See this:

http://www.mkyong.com/android/android-gridview-example/

You need to add a HeaderGridView and it should work:

Add a Header to a GridView (Android)

Community
  • 1
  • 1
Jim
  • 10,172
  • 1
  • 27
  • 36