react-native/Libraries/Lists
Martin Rädlinger 6747a36f5d VirtualizedList: fix bug where onViewableItemsChanged wouldn't trigger
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
2017-10-16 04:35:05 -07:00
..
ListView Codemod to 1.7.0 2017-09-26 23:45:48 -07:00
__flowtests__ Codemod to 1.7.0 2017-09-26 23:45:48 -07:00
__tests__ VirtualizedList: fix bug where onViewableItemsChanged wouldn't trigger 2017-10-16 04:35:05 -07:00
FillRateHelper.js Change all calls to no-console from no-console-disallow 2017-09-29 16:38:06 -07:00
FlatList.js Add SwipeableFlatList 2017-09-28 22:16:08 -07:00
MetroListView.js Codemod to 1.7.0 2017-09-26 23:45:48 -07:00
SectionList.js Fixed homogenous typo 2017-10-13 00:15:42 -07:00
ViewabilityHelper.js VirtualizedList: fix bug where onViewableItemsChanged wouldn't trigger 2017-10-16 04:35:05 -07:00
VirtualizeUtils.js Codemod prettier to 1.5.2 2017-06-28 12:50:30 -07:00
VirtualizedList.js VirtualizedList: fix bug where onViewableItemsChanged wouldn't trigger 2017-10-16 04:35:05 -07:00
VirtualizedSectionList.js Codemod to 1.7.0 2017-09-26 23:45:48 -07:00