lucasr / twoway-view

[DEPRECATED] RecyclerView made simple
5.23k stars 1.02k forks source link

set a custom secondary cell dimension from elsewhere #240

Open aromanovsky opened 8 years ago

aromanovsky commented 8 years ago

Currently, SpannableGridLayoutManager overassumes square shape of the cells. No need to. It is still the default in the branch, but the client can override the secondary (scrolling) dimension, e.g. specify cell width in a horizontally-scrolled view or cell height in a vertically-scrolled view.