一:添加依赖
compile 'com.github.bumptech.glide:glide:3.7.0'
二:布局
<ImageView
android:id="@+id/imageview"
android:layout_width="match_parent"
android:layout_height="match_parent" />
代码
this代表上下文 url网络地址 imageview控件id
Glide.with(this).load(url).into(imageView);