Update ListView to Flatlist
Background
The original problem is caused by RN deprecating ListView in favor of FlatList, a solution is merged here.
However, a better solution IMO is to upgrade ListView entirely.
Testing
yarn test result with react-native-modal-dropdown 0.70:

yarn test result with the PR fork

@sohobloo - any updates I should make for this?
I had the same issue as well. Please merge this PR
I am also getting same issue please merge this PR. @sohobloo
Any update on this @sohobloo .
@Rahulv2492 : also feel free to use the forked package as we keep it up to date: https://github.com/BuildU/react-native-modal-dropdown
In your package.json you need to import it as buildu/react-native-modal-dropdown
Any update? We also see the same issue in our tests.
@Gp2mv3 I had a some problem and I added below line to my test. It works now.
jest.mock('deprecated-react-native-listview', () => {});
But still is a only workaround. @marshallshen's solution is better because replace depracated ListView
++ issue, update please
This should be merged to make the package usable.