Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning getting #114

Open
arshidkv12 opened this issue Oct 25, 2018 · 6 comments
Open

Warning getting #114

arshidkv12 opened this issue Oct 25, 2018 · 6 comments

Comments

@arshidkv12
Copy link

I am getting following warning virtualized cell.cell key of type number

@yang24201
Copy link

Same issue!

1 similar comment
@eugle
Copy link

eugle commented Dec 3, 2018

Same issue!

@sagynbek
Copy link

sagynbek commented Dec 12, 2018

@arshidkv12 , @yang24201 check commit from this pull request it worked for me

@zkerkeb
Copy link

zkerkeb commented May 25, 2019

thank you @sagynbek the warning is gone

@DevAelius
Copy link

DevAelius commented Dec 10, 2019

Go to the below path & open file called index.js

node_modules/react-native-image-gallary/src/libraries/ViewPager/index.js

Now find below method/code

keyExtractor (item, index) {
        return index;
    }

Replace with below method/code

keyExtractor(item, index) {
        return index.toString();
    }

@andy-asi
Copy link

you can use:
#152

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants