I want to achieve an infinite list where I would display two elements on odd rows and one element on even row. Furthermore elements should kind of overflow to give the feeling of saved spaces. See my attached crappy mockup for a better idea of what I mean.
If someone already did this I would love to at least have some inputs about how to solve it?
If no one did this already, maybe don’t you mind sharing some ideas?
No sure yet how to begin this…I was thinking something like
<ion-list> <ion-item *ngFor="....." [class.odd-item-1]="rows is odd and item count is odd" [class.odd-item-2]="rows is odd and item count is even" [class.even-item]="rows is even"> </ion-item> </ion-list>
and then a lot of css and fun with flex-grid…but maybe that’s not the easiest pass to follow?