zzz40500 / AndroidSweetSheet

一个富有动感的Sheet(选择器)
Apache License 2.0
2.06k stars 365 forks source link

Crashes #26

Closed AsadAlihp closed 9 months ago

AsadAlihp commented 7 years ago

Clicking rapidly on custom views causes crash. kindly view the log


 Process: .buttomsheet, PID: 26272
  java.lang.IllegalStateException: Cannot start this animator on a detached view!
at android.view.RenderNode.addAnimator(RenderNode.java:817)
at android.view.RenderNodeAnimator.setTarget(RenderNodeAnimator.java:300)
at android.view.RenderNodeAnimator.setTarget(RenderNodeAnimator.java:282)
at android.animation.RevealAnimator.<init>(RevealAnimator.java:37)
at android.view.ViewAnimationUtils.createCircularReveal(ViewAnimationUtils.java:53)
at com.mingle.widget.CircleRevealHelper.circularReveal(CircleRevealHelper.java:64)
at com.mingle.widget.CircleRevealHelper.circularReveal(CircleRevealHelper.java:52)
at com.mingle.widget.CRImageView.circularReveal(CRImageView.java:84)
at com.mingle.sweetpick.CustomDelegate$AnimationImp.onEnd(CustomDelegate.java:180)
at com.mingle.widget.SweetView$4.onAnimationEnd(SweetView.java:126)
at com.nineoldandroids.animation.ValueAnimator.endAnimation(ValueAnimator.java:1034)
at com.nineoldandroids.animation.ValueAnimator.access$900(ValueAnimator.java:43)
at com.nineoldandroids.animation.ValueAnimator$AnimationHandler.handleMessage(ValueAnimator.java:669)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5643)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)```