React Native Spinner Activity Indicator not working

This is Code but not working for me.

return (   <View style={styles.spinnerStyle}>     <ActivityIndicator       animating={true}       size='large'     />   </View> ); 
Add Comment
1 Answer(s)

This styling is for showing ActivityIndicator on center of page.

<View style={{      display:"flex",      flex:1,      justifyContent:"center",      alignItems:"center"   }}>     <ActivityIndicator       animating={true}       size='large'     />   </View>  
Answered on July 16, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.