HarlonWang / AVLoadingIndicatorView

DEPRECATED
9.75k stars 1.9k forks source link

Error: Can't hide ballPulseIndicator #90

Open Sacchid opened 7 years ago

Sacchid commented 7 years ago

java code: BallPulseIndicator ballPulseIndicator ; AVLoadingIndicatorView avi ; ballPulseIndicator = new BallPulseIndicator(); avi = new AVLoadingIndicatorView(Permission.this); avi.setIndicator(ballPulseIndicator); xml code : <com.wang.avi.AVLoadingIndicatorView android:id="@+id/bottom_progress" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="11dp" style="@style/AVLoadingIndicatorView" app:indicatorName="BallPulseIndicator" android:layout_gravity="bottom|center_horizontal" android:layout_marginBottom="22dp" /> Now avi.smoothToHide();//NOT WORKING Also avi.hide(); , avi.setVisibility(View.INVISIBLE); , stopAnim(); are not working Thanking you in anticipation.

谢谢