Memory consumed by FlatList and RecyclerListView is similar, RecyclerListView wins over UI glitches as for large data sets glitches may observed in FlatList
No | ScrollView | FlatList | RecyclerListView |
---|---|---|---|
1 | No Memory Management | Automatic Memory Management | Automatic Memory Management (Similar to FlatList) |
2 | Loads All content at once | Loads content as window scrolled | Loads content as window scrolled |
3 | Scroll position is not preserved if data refreshed | Scroll position is not preserved if data refreshed | Scroll is preserved if data refreshed |
4 | Observable frame drops | Observable frame drops for large data sets (> 1500) | No frame drops, Highly Performant |
5 | Trouble refreshing data | Trouble refreshing data | Easy to refresh/update data |
6 | Available in react native import {ScrollView} from 'react-native' |
Available in react native import {FlatList} from 'react-native' |
Available via third-party module import { RecyclerListView, DataProvider, LayoutProvider } from "recyclerlistview" https://github.com/Flipkart/recyclerlistview |
7 | Easy to setup | Easy to setup | Hard to setup, Limited Documentation |