6747a36f5d
Summary: In the current implementation of the `VirtualizedList` the `onViewableItemsChanged` callback wouldn't trigger if the underlying list data changes. (see example snack https://snack.expo.io/Hk5703eBb) I added a method in the `ViewabilityHelper` to invalidate the cached viewableIndices, which gets triggered when the list-data changes. Closes https://github.com/facebook/react-native/pull/14922 Differential Revision: D5864537 Pulled By: sahrens fbshipit-source-id: 37f617763596244208548817d5b138dadc12c75d |
||
---|---|---|
.. | ||
ListView | ||
__flowtests__ | ||
__tests__ | ||
FillRateHelper.js | ||
FlatList.js | ||
MetroListView.js | ||
SectionList.js | ||
ViewabilityHelper.js | ||
VirtualizeUtils.js | ||
VirtualizedList.js | ||
VirtualizedSectionList.js |