ListView#onEndReachedThreshold

onEndReachedThreshold number Threshold in pixels (virtual, not physical) for calling onEndReached.

Debugging

Debugging React Native Apps To access the in-app developer menu: On iOS shake the device or press control + ⌘ + z in the simulator. On Android shake the device or press hardware menu button (available on older devices and in most of the emulators, e.g. in genymotion you can press ⌘ + m or F2 to simulate hardware menu button click). You can also install Frappé, a tool for OS X, which allows you to emulate shaking of devices remotely. You can use ⌘ + Shift + R as a shortcut to trigger a shake f

TextInput#onSubmitEditing

onSubmitEditing function Callback that is called when the text input's submit button is pressed. Invalid if multiline={true} is specified.

DrawerLayoutAndroid#drawerWidth

drawerWidth number Specifies the width of the drawer, more precisely the width of the view that be pulled in from the edge of the window.

View#onMoveShouldSetResponderCapture

onMoveShouldSetResponderCapture function

ScrollView#contentOffset

ioscontentOffset PointPropType Used to manually set the starting scroll offset. The default value is {x: 0, y: 0}.

SliderIOS#trackImage

trackImage Image.propTypes.source Assigns a single image for the track. Only static images are supported. The center pixel of the image will be stretched to fill the track.

WebView#decelerationRate

iosdecelerationRate ScrollView.propTypes.decelerationRate A floating-point number that determines how quickly the scroll view decelerates after the user lifts their finger. You may also use string shortcuts "normal" and "fast" which match the underlying iOS settings for UIScrollViewDecelerationRateNormal and UIScrollViewDecelerationRateFast respectively. - normal: 0.998 - fast: 0.99 (the default for iOS WebView)

ListViewDataSource#getRowIDForFlatIndex()

getRowIDForFlatIndex(index) Gets the rowID at index provided if the dataSource arrays were flattened, or null of out of range indexes.

Animated#removeListener()

removeListener(id)