React-Native android ActivityIndicator bug

 

<ActivityIndicator animating = {this.state.animating} /> 

改为:

 {this.state.animating && <ActivityIndicator animating={this.state.animating} />}

 

posted @ 2017-12-21 13:48  NOIP/NOI辅导  Views(232)  Comments(0Edit  收藏  举报