Closed Deepscorn closed 9 years ago
Right now, I'm using this approach to declare the number of columns.
mLayoutManager = new SpannableGridLayoutManager(TwoWayLayoutManager.Orientation.VERTICAL,colsCount,rowsCount);
mRecyclerView.setLayoutManager(mLayoutManager);
I don't know your use case so I can't answer a better way.
It works! Thank you!
The only way to set them now is to set them in xml: app:twowayview_numColumns="15" app:twowayview_numRows="25" Correct me, if I'm wrong