ToastAndroid#LONG

LONG: MemberExpression

ToastAndroid#SHORT

SHORT: MemberExpression

Timers

Timers are an important part of an application and React Native implements the browser timers. Timers setTimeout, clearTimeout setInterval, clearInterval setImmediate, clearImmediate requestAnimationFrame, cancelAnimationFrame requestAnimationFrame(fn) is not the same as setTimeout(fn, 0) - the former will fire after all the frame has flushed, whereas the latter will fire as quickly as possible (over 1000x per second on a iPhone 5S). setImmediate is executed at the end of the current JavaSc

TimePickerAndroid.timeSetAction()

static timeSetAction() A time has been selected.

TextInput#value

value string The value to show for the text input. TextInput is a controlled component, which means the native value will be forced to match this value prop if provided. For most uses this works great, but in some cases this may cause flickering - one common cause is preventing edits by keeping value the same. In addition to simply setting the same value, either set editable={false}, or set/update maxLength to prevent unwanted edits without flicker.

TimePickerAndroid.open()

static open(options) Opens the standard Android time picker dialog. The available keys for the options object are: hour (0-23) - the hour to show, defaults to the current time minute (0-59) - the minute to show, defaults to the current time * is24Hour (boolean) - If true, the picker uses the 24-hour format. If false, the picker shows an AM/PM chooser. If undefined, the default for the current locale is used. Returns a Promise which will be invoked an object containing action, hour (0-23),

TimePickerAndroid.dismissedAction()

static dismissedAction() The dialog has been dismissed.

TextInput#selectionState

iosselectionState DocumentSelectionState See DocumentSelectionState.js, some state that is responsible for maintaining selection information for a document

TextInput#selectionColor

selectionColor string The highlight (and cursor on ios) color of the text input

TextInput#underlineColorAndroid

androidunderlineColorAndroid string The color of the textInput underline.