lucasr / twoway-view

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

Multiple horizontal grid layouts in a ListView #195

Open aliHafizji opened 9 years ago

aliHafizji commented 9 years ago

I've got a layout in which I have a list view with each cell being a horizontal grid view.

I was able to do this easily using the two-way-view. However the layout behaves a bit weirdly right now. Say if I scroll the first horizontal grid in the list view until the end then if I scroll vertically, the same horizontal grid view is recycled by the list view adapter and populated with new contents. Scrolling this one causes the extra padding to be added to the front and back of the grid.

Has anyone faced something similar before?