美文网首页
SquaringDrawable cannot be cast

SquaringDrawable cannot be cast

作者: Nj_第一批老去的90后 | 来源:发表于2017-06-15 18:58 被阅读42次

    SquaringDrawable cannot be cast to android.graphics.drawable.BitmapDrawable

    解决方法:
      Bitmap bitmap = ((GlideBitmapDrawable)drawable.getCurrent()).getBitmap();
    

    相关文章

      网友评论

          本文标题:SquaringDrawable cannot be cast

          本文链接:https://www.haomeiwen.com/subject/kzyuqxtx.html