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.

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

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

ListView#onEndReachedThreshold

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

InteractionManager.runAfterInteractions()

static runAfterInteractions(task) Schedule a function to run after all interactions have completed.

Building React Native from source

You will need to build React Native from source if you want to work on a new feature/bug fix, try out the latest features which are not released yet, or maintain your own fork with patches that cannot be merged to the core. Prerequisites Assuming you have the Android SDK installed, run android to open the Android SDK Manager. Make sure you have the following installed: Android SDK version 23 (compileSdkVersion in build.gradle) SDK build tools version 23.0.1 (buildToolsVersion in build.gradle)

Image#source

source ImageSourcePropType The image source (either a remote URL or a local file resource).

ListView#renderSectionHeader

renderSectionHeader function (sectionData, sectionID) => renderable If provided, a sticky header is rendered for this section. The sticky behavior means that it will scroll with the content at the top of the section until it reaches the top of the screen, at which point it will stick to the top until it is pushed off the screen by the next section header.

RefreshControl#onRefresh

onRefresh function Called when the view starts refreshing.

Picker#onValueChange

onValueChange function Callback for when an item is selected. This is called with the following parameters: - itemValue: the value prop of the item that was selected - itemPosition: the index of the selected item in this picker