ImageView简单加载网络图片

private void loadImage() {
		mImageView = (ImageView) findViewById(R.id.imageView);
		try {
			URL url = new URL("http://images.csdn.net/20130609/zhuanti.jpg");
			mImageView.setImageBitmap(BitmapFactory.decodeStream(url.openStream()));
		} catch (Exception e) {
			
		}

	}

上一篇:智能技术赋能,重构零售业客户体验


下一篇:zabbix监控kafka