A simple RN component that allows row selection
yarn add react-native-multiselect
or npm install react-native-multiselect --save
3.0.0
swaps out ListView
for FlatList
or SectionList
. This gives a huge performance increase for larger lists. This is a breaking change so you might need to modify your implementation of react-native-multiselect
for this to work. Don't worry though, its not a massive change.
If you used <2.0.0
the renderRow
API has changed and you'll need to do a small rewrite
2.0.0
brings some major performance enhancements and removes the dependancy on react-native-vector-icons
, you are now just given an isSelected
parameter which you can use to style the renderRow
. Thanks to @indesignlatam for proposing a fix to performance issues with large datasets.