List view is for a one item per row. Is there a way to make a GridView? Multiple items per row? Like the Project two window mode?
Currently I am thinking of making the ListView display a row of items ‘per item’ to ‘solve’ this, but I’d love a proper solution. I’ve attempting making my own GridView by copying the ListView code, but there are way too many internal properties being used.
Making grid in flexbox is pretty simple.
If you need scrolling, you can create a ScrollView and set it’s content-container child to use flex-direction: row; and flex-wrap: wrap; via USS. Then you just style the children of the scrollview how you see fit.
The list view have the feature of only rendering what’s needed and creating/changing the content on demand rather than having all items loaded all the time. Which is why I would like a GridView with this same feature, but being able to place multiple items in the same line. I think I managed to work something out, will post tomorrow if it works.