As I am a beginner, Very confused about comparison in react native. I have multiple different ImageArray like alphabets, fruits, birds etc. I want to load that according to selected index from flatlist like
if(selectedindex==1){
}
else if(selectedindex==2)
and so on.
How can I do? Please Help.