Janic Duplessis c708234f66 Native Animated - Support multiple events attached to the same prop
Summary:
Fixes a bug that happens when trying to use ScrollView with sticky headers and native `Animated.event` with `onScroll`. Made a few changes to the ListViewPaging UIExplorer example to repro https://gist.github.com/janicduplessis/17e2fcd99c6ea49ced2954d881011b09.

What happens is we need to be able to add multiple events to the same prop + viewTag pair. To do that I simple changed the data structure to `Map<prop+viewTag, List<AnimatedEventDriver>>` and try to optimize for the case where there is only one item in the list since it will be the case 99% of the time.

**Test plan**
Tested by reproducing the bug with the above gist and made sure it was fixed after applying this diff.
Closes https://github.com/facebook/react-native/pull/12697

Differential Revision: D4656347

Pulled By: sahrens

fbshipit-source-id: b5c36ba796f478e56028c7a95bc0f86bc54cb2ce
2017-03-05 10:16:57 -08:00
..
2017-02-21 09:11:01 -08:00
2016-12-07 17:13:42 -08:00
2017-02-24 13:01:34 -08:00
2017-03-04 19:30:34 -08:00
2017-03-04 19:30:34 -08:00
2017-02-27 14:04:57 -08:00
2017-01-31 11:58:30 -08:00
2017-03-04 19:30:34 -08:00
2016-11-02 12:29:15 -07:00
2017-02-14 20:00:34 -08:00
2016-08-09 06:43:46 -07:00
2017-03-04 19:30:34 -08:00
2017-03-01 17:55:30 -08:00
2017-01-31 11:13:50 -08:00
2016-11-23 11:28:29 -08:00
2017-02-21 15:18:40 -08:00
2017-03-04 19:30:34 -08:00
2017-02-24 07:00:16 -08:00