react-native/Libraries/Components
UnoDeTantos f7ce0c1c2f Adds progressViewOffset to RefreshControl
Summary:
Add the possibility to define a progress view top offset to RefreshControl on android. As i comment in #6740, contentInset does the trick on IOS.

Looking android documentation seems that exists a possible solution:
http://developer.android.com/reference/android/support/v4/widget/SwipeRefreshLayout.html#setProgressViewOffset(boolean, int, int)

This pull request implement that but keeping it simple, only a top offset.

For example, now we could put navigation bar over the scrollview (or listview) and define a progressViewOffset on RefreshView in order to start behind the navigation. At this point we could make some kind of coordinator layout to hide/show navigation on scroll.

To maintain the default behavior, start point is equal to start point minus progress circle diameter in order to create that progress circle before the start point.
Closes https://github.com/facebook/react-native/pull/6759

Differential Revision: D3240664

Pulled By: mkonicek

fb-gh-sync-id: ccf866272e871811c1c6dcc2a34f5c217967feee
fbshipit-source-id: ccf866272e871811c1c6dcc2a34f5c217967feee
2016-05-09 01:51:22 -07:00
..
ActivityIndicatorIOS Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
Clipboard Annotate Clipboard module 2016-02-15 10:05:34 -08:00
DatePicker Removed exported constants for fixed-size views 2016-04-26 04:21:39 -07:00
DatePickerAndroid Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
DrawerAndroid Fixed typo 2016-05-08 11:47:49 -07:00
Intent Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
MapView Fix or suppress errors in react-native 2016-04-21 19:47:24 -07:00
Navigation NavigatorIOS: Expose interactivePopGestureEnabled property 2016-05-06 03:18:20 -07:00
Picker Fix Android picker controlling 2016-05-07 15:52:19 -07:00
ProgressBarAndroid ProgressBarAndroid: default value for styleAttr 2016-01-07 12:02:37 -08:00
ProgressViewIOS Removed exported constants for fixed-size views 2016-04-26 04:21:39 -07:00
RefreshControl Adds progressViewOffset to RefreshControl 2016-05-09 01:51:22 -07:00
ScrollView Add pagingEnabled to HorizontalScrollView 2016-05-05 04:14:22 -07:00
SegmentedControlIOS Removed exported constants for fixed-size views 2016-04-26 04:21:39 -07:00
Slider Fix website after open sourcing Slider 2016-04-06 08:51:23 -07:00
SliderIOS Fix website after open sourcing Slider 2016-04-06 08:51:23 -07:00
StatusBar Display component methods on the website and tweak the documentation 2016-04-09 11:13:28 -07:00
Switch Update Switch.js 2016-04-17 21:01:29 -07:00
SwitchAndroid RN: Improve <Switch> Documentation 2016-03-25 15:17:20 -07:00
SwitchIOS RN: Improve <Switch> Documentation 2016-03-25 15:17:20 -07:00
TabBarIOS Enable setting color of text and images on unselected tabs 2016-05-03 05:40:29 -07:00
TextInput Implement returnKeyType/returnKeyLabel on Android 2016-05-05 10:22:19 -07:00
TimePickerAndroid Fixed typo in docs 2016-04-06 08:55:20 -07:00
ToastAndroid Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
ToolbarAndroid Added ColorPropType 2015-12-23 10:08:38 -08:00
Touchable Show default `activeOpacity` value in docs. 2016-04-29 03:45:26 -07:00
UnimplementedViews Quick fix to require cycle in UnimplementedView 2015-11-23 14:14:32 -08:00
View Fix bad wording in pointer events doc 2016-03-24 19:53:26 -07:00
ViewPager Add ability to disable scroll on android ViewPager 2016-04-21 19:43:27 -07:00
WebView Implemented stopLoading 2016-04-22 08:15:25 -07:00
LazyRenderer.js Decrease TTRR (time to relay request) by lazy rendering fake group header 2016-04-17 15:04:19 -07:00
ScrollResponder.js Integrate RelayConnection with RNFeed 2016-04-22 22:48:18 -07:00
StaticContainer.js Move stuff out of vendor/react_contrib/ 2015-10-12 11:18:30 -07:00
StaticRenderer.js [Haste] @provides -> @providesModule StaticRenderer 2015-05-14 08:42:13 -08:00
Subscribable.js [ReactNative] clean lint for Libraries/Components 2015-05-18 15:54:07 -08:00