Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes when not using on ui thread #23

Open
danvinokour opened this issue Feb 24, 2016 · 1 comment
Open

Crashes when not using on ui thread #23

danvinokour opened this issue Feb 24, 2016 · 1 comment

Comments

@danvinokour
Copy link

android.util.AndroidRuntimeException: Animators may only be run on Looper threads at android.animation.ValueAnimator.start(ValueAnimator.java:1002) at android.animation.ValueAnimator.start(ValueAnimator.java:1050) at android.animation.ObjectAnimator.start(ObjectAnimator.java:829) at android.animation.AnimatorSet.start(AnimatorSet.java:585) at com.michael.easydialog.EasyDialog.onDialogDismiss(EasyDialog.java:526) at com.michael.easydialog.EasyDialog.dismiss(EasyDialog.java:591)

It happens because i used TimerTask to dismiss EasyDialog with animation.
i can run it on ui thread but i think that EasyDialog should allow usage from any thread.

@michaelye
Copy link
Owner

@danvinokour Ok,I know what you mean, I will fix this issue in next version.Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants