You need to set the onValueChange method
I am trying to add a collector in responsive native Android, but it does not appear in Android. I match the date of my location with the selection, but I do not see it on the screen.
<Picker style={{width: 100}} selectedValue={this.state.location} onValueChange={(loc) => this.setState({location: loc})}> <Picker.Item label="Location 1" value="1" /> <Picker.Item label="Location 2" value="2" /> <Picker.Item label="Location 3" value="3" /> </Picker>
Chris geirman
source share