Files
react-native/Libraries
Janic Duplessis 77b8c09727 Implement sticky headers in JS using Native Animated
Summary:
This re-implements sticky headers in JS to make it work on Android.

The only change that was needed was to expose a way to attach a an animated value to an event manually since we can't use the Animated wrapper and `Animated.event` to do it for us because this is implemented directly in the `ScrollView` component. Simply exposed `attachNativeEvent` that takes a ref, event name and event object mapping. This is what is used by `Animated.event`.

TODO:
- Need to check why momentum scrolling isn't triggering scroll events properly on Android.
- Remove native iOS implementation
- cleanup / fix flow

**Test plan**
Test the example list in UIExplorer, test the ListViewPaging example.
Closes https://github.com/facebook/react-native/pull/11315

Differential Revision: D4450278

Pulled By: sahrens

fbshipit-source-id: fec8da2cffce9807d74f8e518ebdefeb6a708667
2017-03-02 15:15:31 -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-02-27 14:04:57 -08:00
2017-01-31 11:58:30 -08:00
2017-03-02 07:47:21 -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-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-02-24 07:00:16 -08:00