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

ListView is deprecated #123

Open
AnibalDuarte opened this issue Jun 29, 2020 · 7 comments
Open

ListView is deprecated #123

AnibalDuarte opened this issue Jun 29, 2020 · 7 comments

Comments

@AnibalDuarte
Copy link

There is no more information that I can provide to explain the error, because it's pretty simple: ListView is deprecated on React-Native and this plugin isn't useable anymore.

Anyone has any solution to it?

@AiTranXuan
Copy link

.

@NishargShah
Copy link

@brh55 any solution??

@rbecharast-chwy
Copy link

rbecharast-chwy commented Sep 7, 2020

@brh55 any solution?

@eddyoc
Copy link

eddyoc commented Sep 29, 2020

I have forked one of @brh55's branches, flat-list-parent, and modernised the component lifecycle and merged in the master branch.

This was a quick and dirty exercise and I've not even looked at the unit tests. However this is now working swimmingly with the latest version of React.

It can be found here, hopefully this will assist in keeping this awesome component moving forwards.

git://github.com/eddyoc/react-native-masonry#flat-list-modernize

@mshafex
Copy link

mshafex commented Jan 13, 2021

still not fixed ?

@j-braun0384
Copy link

git://github.com/eddyoc/react-native-masonry

i've installed your fork and I'm still recieving the ListView error?

@Cetger
Copy link

Cetger commented Jan 25, 2022

Guys you can use ListView
in react-native-masonry/components/Masonry
import { View, ListView, Image, Text, Dimensions } from 'react-native';
change with

import { View, Image, Text, Dimensions } from 'react-native';
import ListView from "deprecated-react-native-listview";

And also you need to add this deprecated library via yarn or npm

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

8 participants