📜  setimageresource 链接 android - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:50.247000             🧑  作者: Mango

代码示例1
URL newurl = new URL(photo_url_str); 
mIcon_val = BitmapFactory.decodeStream(newurl.openConnection().getInputStream());
profile_photo.setImageBitmap(mIcon_val);