SyntaxFix
Write A Post
Hire A Developer
Questions
Just do this:
private void setImg(ImageView mImageView, Bitmap bitmap) { Drawable mDrawable = new BitmapDrawable(getResources(), bitmap); mImageView.setDrawable(mDrawable); }