@ -208,16 +208,9 @@ class RotateLoading : View {
private fun stopAnimator() {
animate().cancel()
animate().scaleX(0.0f)
.scaleY(0.0f)
.setListener(object : AnimatorListenerAdapter() {
override fun onAnimationEnd(animation: Animator) {
isStarted = false
visibility = GONE
}
})
.start()
companion object {
private const val DEFAULT_WIDTH = 6