HarlonWang / AVLoadingIndicatorView

DEPRECATED
9.75k stars 1.9k forks source link

Stop Animators #69

Open HoussemHfaidh opened 7 years ago

HoussemHfaidh commented 7 years ago

Hello how to Stop Animators

ghost commented 7 years ago

void startAnim(){ avi.show(); // or avi.smoothToShow(); }

void stopAnim(){ avi.hide(); // or avi.smoothToHide(); }

just call avi.hide();

defaultbr commented 7 years ago

@PeterPhyo but this hide all the indicator, how to only stop the rotation? (not hiding)

lemonov commented 7 years ago

@defaultbr on view call .getIndicator().stop(); But this does not always work.

adolfdsilva commented 6 years ago

I use

avi.indicator.stop()
avi.invalidate()

It works for me

HoussemHfaidh commented 6 years ago

Thanks , I will check

Le ven. 29 juin 2018 à 04:44, adolfdsilva notifications@github.com a écrit :

I use

avi.indicator.stop() avi.invalidate()

It works for me

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/81813780/AVLoadingIndicatorView/issues/69#issuecomment-401238756, or mute the thread https://github.com/notifications/unsubscribe-auth/ASXm7Nn7Iftw8oO5hN9qzuNYp4bwcWeBks5uBaKMgaJpZM4MHFNx .

--

Cordialement Houssem Hfaidh Mobile Developper Tel : 00216 55 569 416

kagile commented 5 years ago

@adolfdsilva Not working