2
我在RecyclerView中使用GridLayoutManager。我的項目被安排爲如何在回收站查看物品?
a1 b1 c1
a2 b2 c2
a3 b3 c3
,但我要像
a1 a2 a3
b1 b2 b3
c1 c2 c3
我在RecyclerView中使用GridLayoutManager。我的項目被安排爲如何在回收站查看物品?
a1 b1 c1
a2 b2 c2
a3 b3 c3
,但我要像
a1 a2 a3
b1 b2 b3
c1 c2 c3
至於我的觀點來安排,你已經設置GridLayoutManager方向和reverselayout,除去他們與嘗試這樣
new GridLayoutManager(this, 3, GridLayoutManager.HORIZONTAL, true);
使用它
new GridLayoutManager(this, 3);