This is a high performance list view for React Native with support for complex layouts using a similar FlatList usage to make easy the replacement. This list implementation for big list rendering on React Native works with a recycler focused on performance and memory usage and so it permits processing thousands items on the list.
Using onScroll for setting an Animated.Value is very janky, because useNativeDriver has to be set to false. Setting it to true makes it not work at all.
I've introduced a new prop called nativeOffsetValues, which takes an object of {x: Animated.Value, y: Animated.Value }, and works like this:
This PR solves this issue: https://github.com/marcocesarato/react-native-big-list/issues/41
Using
onScroll
for setting an Animated.Value is very janky, becauseuseNativeDriver
has to be set tofalse
. Setting it totrue
makes it not work at all.I've introduced a new prop called nativeOffsetValues, which takes an object of
{x: Animated.Value, y: Animated.Value }
, and works like this: