1.引入Glide框架
compile 'com.github.bumptech.glide:glide:4.0.0'
2.使用
String url = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; img = (ImageView) findViewById(R.id.act_img); Glide.with(Activity.this) .load(url) .into(img);
1.引入Glide框架
compile 'com.github.bumptech.glide:glide:4.0.0'
2.使用
String url = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; img = (ImageView) findViewById(R.id.act_img); Glide.with(Activity.this) .load(url) .into(img);