-
Notifications
You must be signed in to change notification settings - Fork 231
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
java.lang.ClassCastException: android.graphics.drawable.TransitionDrawable cannot be cast to com.gongpingjia.view.SelectableRoundedImageView$SelectableRoundedCornerDrawable at com.gongpingjia.view.SelectableRoundedImageView.updateDrawable(SelectableRoundedImageView.java:201) at com.gongpingjia.view.SelectableRoundedImageView.setImageDrawable(SelectableRoundedImageView.java:149) #14
Comments
Which image loading library do you use? Can you share some code that throws this exception? |
@huangchenggang this thread will be closed unless you share me more details in next 2 weeks. :) |
This is an issue when using Glide as the Async image loader, I think this has something to do with the animation. |
@zanderisrael if you have experienced the same issue, could you share some code that reproduce the issue? |
sure: JAVA
XML
|
Thanks for sharing! I will look into it. :)
|
I met the same problem!using Glide as the image loader |
1 similar comment
I met the same problem!using Glide as the image loader |
anyone here? why the author has no responds but closed instead? |
@hpuhsp I am HERE! I just have no time for digging into this. Contributes are welcome! |
This has nothing to do with this library. Its a known issue of using either Picasso or Glide as your image loading library. Please, check Glide's README file where it clearly specifies that you either have to use |
java.lang.ClassCastException: android.graphics.drawable.TransitionDrawable cannot be cast to com.gongpingjia.view.SelectableRoundedImageView$SelectableRoundedCornerDrawable
at com.gongpingjia.view.SelectableRoundedImageView.updateDrawable(SelectableRoundedImageView.java:201)
at com.gongpingjia.view.SelectableRoundedImageView.setImageDrawable(SelectableRoundedImageView.java:149)
The text was updated successfully, but these errors were encountered: