nspavlo / MaterialActivityIndicator

Material Activity Indicator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wait for animations to complete

Tylerian opened this issue · comments

Would be nice if the ActivityIndicator waited for the spin animation to complete its cycle before it gets removed on stopAnimating() call.

Thanks! I will add smth like this: func stopAnimating(animated: Bool = false)
If animated == true animation will complete the cycle.
If animated == false animation will stop without completing the cycle. (default behaviour)

Sounds good to me!