Matt Oakes 55427566b6 Add a prop to toggle ListView sticky section headers
Summary:
Hello,

This PR adds a property to the `ListView` to enable and disable to sticky sections headers behaviour. Current this is enabled by default and there is no way to disable it. It has been previously discussed in #1974 where there was a suggestion to add the `ListView` inside `ScrollView`. This is bad for performance, but some people were using that as a workaround. satya164 suggested someone submitting a PR, which is why I'm here 😉

I have tested the property manually by adding `stickySectionHeaders={false}` to the `<ListView> Paging` example in `UIExplorer`. I have also tested that the current behaviour still stands, so this is a non-breaking change.

I have also checked that the website displays the new documentation.

I couldn't see anywhere to add automated tests to this, but if there is feel free to point it out and I'll update this PR.

I tried running `npm run lint` to check the code style, but it spat out loads and loads of errors. I presume I have something set up incorrectly. Feel
Closes https://github.com/facebook/react-native/pull/11700

Differential Revision: D4380916

fbshipit-source-id: 7782043afc9f0108c81f97952fed60b153479cac
2017-01-09 03:13:28 -08:00
..
2016-12-07 17:13:42 -08:00
2016-11-04 05:43:44 -07:00
2016-12-11 00:43:30 -08:00
2017-01-04 02:43:30 -08:00
2017-01-03 13:43:35 -08:00
2016-11-02 12:29:15 -07:00
2016-08-09 06:43:46 -07:00
2016-12-15 21:13:38 -08:00
2016-12-13 18:58:34 -08:00
2017-01-09 00:28:37 -08:00
2016-11-23 11:28:29 -08:00
2017-01-08 04:43:31 -08:00