react-native-simple-radio-button
react-native-simple-radio-button copied to clipboard
Android
trafficstars
When I use this code in android I have issues with it displaying the first time I go to that screen. If I navigate away and then back it displays. Any ideas? Here is my import statement:
import RadioForm, {RadioButton, RadioButtonInput, RadioButtonLabel} from "react-native-simple-radio-button";
<RadioForm
radio_props={radio_props}
initial={0}
formHorizontal={true}
labelHorizontal={true}
buttonColor={'#2196f3'}
animation={true}
onPress={(value) => {this.setState({userType:value})}}
/>
Try animation={false} instead of true.