0

I have a GridLayoutManager which I need to be ordered first top to bottom and only then to the right

What I have now is

0  1  2
3  4  5

Ans what I want is

0  2  4
1  3  5

How do I achieve that?

Here's my code

layoutManager = GridLayoutManager(context, spanCount, LinearLayoutManager.VERTICAL, false)
orelzion
  • 2,452
  • 4
  • 30
  • 46

0 Answers0