NullPointerException - Drawable.setBounds - probably due to fragment transitions

♀尐吖头ヾ 提交于 2019-12-04 04:18:51

A Fragment or Activity transition is trying to animate an ImageView which has no drawable set. Ensure you always have a Drawable set for your ImageView when you animate it with ChangeImageTransform (or disable this kind of animation)

I followed answer made by @BladeCoder in this thread. His solution was just one part if you used Universal Image Loader.

After adding placeholder to ImageView, you need also to put some image or color (depends of your needs) to XML.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!