Open AnibalDuarte opened 4 years ago
.
@brh55 any solution??
@brh55 any solution?
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
still not fixed ?
git://github.com/eddyoc/react-native-masonry
i've installed your fork and I'm still recieving the ListView error?
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
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?