Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Two columns in RN FlatList

How can I list 2 columns in a React Native Flatlist, e.g.:

enter image description here

like image 910
doublemax Avatar asked Jan 18 '18 20:01

doublemax


1 Answers

Just pass the prop numColumns to your FlatList component.

like image 178
Eduardo Macêdo Avatar answered Oct 21 '22 19:10

Eduardo Macêdo