lundi 25 mai 2020

How to make a button to pick a random component onPress whit no repeats in react native

I am a newbee. this is my second post.

In my app in react-antive i woudl like to make a button genereta a random number that will determiny which componenet to pick to return. I woudl like to make this random fucntion to pick random component with no repeats. Could someone please help and give me an advice how could i make it happen.




Aucun commentaire:

Enregistrer un commentaire