how to load placeHolder pic or error pic,
SmarterZys opened this issue · 1 comments
SmarterZys commented
Glide.with(mContext).load(path).error(R.drawable.error).placeholder(R.drawable.placeholder)
.transform(new GlideCircleTransform(mContext)).into(imageView);
I set error and placeHolder pic,but it doesn't work; it has any other methods?
SmarterZys commented
DrawableRequestBuilder<Integer> thumbnail = Glide.with(context)
.load(R.drawable.placeholder)
.transform(new GlideCircleTransform(context));
Glide.with(context).load(path)
.transform(new GlideCircleTransform(context))
.thumbnail(thumbnail).into(imageView);