meliorence / react-native-image-gallery

Pure JavaScript image gallery component for iOS and Android with high-performance and native feeling in mind
715 stars 298 forks source link

keyExtractor #143

Open appsgenie opened 4 years ago

appsgenie commented 4 years ago

the key has to always be a string not at int. console always shows warnings. i fixed on my end like this: keyExtractor (item, index) { return index; } to keyExtractor (item, index) { return${index}; } but can someone make this change in this package?

andy-asi commented 3 years ago

you can use: https://github.com/archriss/react-native-image-gallery/pull/152