【发布时间】:2017-05-26 10:07:03
【问题描述】:
今天我尝试在我的 android 应用程序中使用Glide 图像加载器,同时使用这个我遇到了无法解决问题的方法。
Glide
.with(this)
.load(R.drawable.image_default_profile_picture)
.into(mUserImage);
这段代码工作得很好。但是当我尝试这个时
Glide
.with(this)
.load(R.drawable.image_default_profile_picture)
.placeholder(R.mipmap.ic_launcher)
.fitCenter()
.into(mUserImage);
那么这句话不能解决方法fitCenter(),placeholder。
我错过了什么?
【问题讨论】:
-
您使用的是哪个滑翔版本?
标签: android android-glide