jess-anders / two-way-gridview

An Android GridView that can be configured to scroll horizontally or vertically
650 stars 261 forks source link

Gridview with one column when it should be with 5 columns. #4

Closed RafaCoimbra closed 11 years ago

RafaCoimbra commented 11 years ago

I'm using Gridview Two Way, and he is getting only one column when it should fill an entire row and scroll horizontally.

I need to mandatorily use the Adapter Two Way or can I use my own adapter?

jess-anders commented 11 years ago

You can use your own adapter. If you have it configured to scroll horizontally, then the column width is controlled by each item's width. Just like in a vertically scrolling ListView, each item's height is controlled by the item itself.