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
..
2017-09-11 16:08:03 -07:00
2017-09-25 10:30:53 -07:00
2017-09-06 03:33:43 -07:00
2017-10-12 09:46:29 -07:00
2017-09-28 22:16:08 -07:00
2017-09-06 03:33:43 -07:00
2017-09-08 14:46:14 -07:00
2017-09-21 15:01:52 -07:00
2017-09-28 22:16:08 -07:00
2017-09-12 05:50:26 -07:00
2017-02-21 15:18:40 -08:00
2017-10-10 13:20:18 -07:00
2017-10-09 17:46:44 -07:00
2017-09-06 03:33:43 -07:00
2017-10-09 17:46:44 -07:00
2017-10-04 19:17:07 -07:00
2017-10-09 17:22:35 -07:00
2017-09-06 03:33:43 -07:00