ReactNative ActivityIndicator not showing when animating property initiate false

后端 未结 10 1734

I\'m playing with react native and got a strange behaviour.

When I try to show a ActitvityIndicator for Android setting its animating property

10条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-12 22:18

    In my case, for react native version 0.59.10 , the size property type is different for Android and iOS, so for that I had to make a Platform check as following and it worked.

    
    

提交回复
热议问题