RefreshControl#onRefresh

onRefresh function Called when the view starts refreshing.

Picker#itemStyle

iositemStyle itemStylePropType Style to apply to each of the item labels.

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

DrawerLayoutAndroid#onDrawerStateChanged

onDrawerStateChanged function Function called when the drawer state has changed. The drawer can be in 3 states: - idle, meaning there is no interaction with the navigation view happening at the time - dragging, meaning there is currently an interaction with the navigation view - settling, meaning that there was an interaction with the navigation view, and the navigation view is now finishing its closing or opening animation

Slider#testID

testID string Used to locate this view in UI automation tests.

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.

WebView#source

source {uri: string, method: string, headers: object, body: string}, {html: string, baseUrl: string}, number Loads static html or a uri (with optional headers) in the WebView.

View#onMoveShouldSetResponderCapture

onMoveShouldSetResponderCapture function