方法一:
Glide.with(mContent)
.load(school_icon.get(position))
.placeholder(R.drawable.test)
.dontAnimate()//添加这行代码
.into(holder.schoolIcon);
方法二:
.into(new SimpleTarget() {
@Override
public void onResourceReady(GlideDrawable resource,
GlideAnimation glideAnimation) {
iv_img.setImageDrawable(resource);
}
});
网友评论