我已经检查过imageView.getdrrawable()== null,但是imageview已经包含源图像,因此它返回true吗?如何检查?
使用getDrawable()方法,如果它返回null,则没有分配任何内容
if( mImageView.getDrawable() != null){ //Image Assigned }else{ //nothing assigned }