react-native/Examples
Kudo Chien 8de86a0d65 Add onPageScrollStateChanged for ViewPagerAndroid
Summary:
I have an issue when combining `PullToRefreshViewAndroid` and `ViewPagerAndroid`.
`ViewPagerAndroid` will not able to scroll that gesture handler is being taken by `PullToRefreshViewAndroid`
One solution is to disable `PullToRefreshViewAndroid` if `ViewPagerAndroid` is scrolling (i.e. not idle).
[Reference solution here](http://stackoverflow.com/a/29946734/2590265)

So here need to expose the `onPageScrollStateChanged` event.
Some code referenced from  DrawerLayoutAndroid, especially the `VIEWPAGER_PAGE_SCROLL_STATES` array.
Please feel free give me comments.
Thanks.
Closes https://github.com/facebook/react-native/pull/5026

Reviewed By: svcscm

Differential Revision: D2830623

Pulled By: andreicoman11

fb-gh-sync-id: c2a6920c6f4c7daab0115f13864db83b93b31abf
2016-01-29 01:17:35 -08:00
..
2048 Bugfix - Typos 2015-12-15 09:09:32 -08:00
Movies PixelRatio.pixel() 2016-01-15 05:15:31 -08:00
TicTacToe Remove newline in TicTacToe example 2015-11-30 11:11:24 -08:00
UIExplorer Add onPageScrollStateChanged for ViewPagerAndroid 2016-01-29 01:17:35 -08:00
.eslintrc Add global flow types to eslint globals 2016-01-27 15:55:34 -08:00