flexbox - React Native Grid of Buttons -


i'm new react-native, , i'm trying make grid of buttons can change number of buttons per row , overall number of buttons. making grid not problem changing number of items per row harder. give me advice on should use achieve goal? i'm using flex-box , listview right now.

i don't recommend use listview, try create new component instead represent each row on grid , create componen represents each button on ro. can create many button want on each row , able modify styles.

you can still use flexbox order elements @ center.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -