react-native-masonry icon indicating copy to clipboard operation
react-native-masonry copied to clipboard

ListView is deprecated

Open AnibalDuarte opened this issue 4 years ago • 7 comments

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?

AnibalDuarte avatar Jun 29 '20 03:06 AnibalDuarte

.

AiTranXuan avatar Aug 19 '20 09:08 AiTranXuan

@brh55 any solution??

NishargShah avatar Aug 21 '20 10:08 NishargShah

@brh55 any solution?

rbecharast-chwy avatar Sep 07 '20 12:09 rbecharast-chwy

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

eddyoc avatar Sep 29 '20 02:09 eddyoc

still not fixed ?

mshafex avatar Jan 13 '21 14:01 mshafex

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

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

j-braun0384 avatar May 12 '21 04:05 j-braun0384

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

Cetger avatar Jan 25 '22 01:01 Cetger