I have a problem aligning Listview elements, which should appear in a more box style than row style. In the picture, you can see the current state that is created using this StyleSheet code used in the Listview contentContainerStyle prop:
ListViewStyle: {
flexDirection: 'row',
flexWrap: 'wrap',
}
What I want to achieve is wrapped Listview elements without starting a new row after the line break and, as a result, without space at the top of the Listview element.

Any idea how to achieve this nice and clean? Thank!
source
share