React native picker selected value gives undefined is not an object error
问题 I am using below code for picker and to send the value selected from picker to api call, i keep getting this error Possible Unhandled Promise Rejection (id: 1):undefined is not an object (evaluating 'this.state.selected1') what am i doing wrong? 'use strict' import React, { Component } from 'react'; const ReactNative = require('react-native'); const { Picker, AppRegistry, StyleSheet, Navigator, Text, View, TextInput, Button, ScrollView } = ReactNative; const Item = Picker.Item; import {