Issue 1:
Glide Version : 4.0.0:

Integration libraries : okhttp3-integration:4.0.0:

Device/Android Version : xiaomi 6.0:

Issue details / Repro steps / Use case background:

options add transform , when refresh recyclerview , the item image will flicker .

Glide load line / GlideModule (if any) / list Adapter code (if any):

RequestOptions options = new RequestOptions();
options.placeholder(R.drawable.default_news_cat_pic)
.error(R.drawable.default_news_cat_pic)
.dontAnimate()
.diskCacheStrategy(DiskCacheStrategy.AUTOMATIC)
.options.transform(new TopCrop(imageView.getContext()));

GlideApp.with(image.getContext())
.load(url)
.apply(options)
.into(image);

Layout XML:

<RelativeLayout
android:id="@+id/rl_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/normal_margin"
android:paddingRight="@dimen/normal_margin"
android:paddingTop="@dimen/normal_margin">

<TextView
android:id="@+id/tv_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/ll_head"
android:layout_alignStart="@+id/ll_head"
android:layout_below="@id/ll_head"
android:ellipsize="end"
android:lineSpacingExtra="3dp"
android:maxLines="2"
android:paddingBottom="2dp"
android:text="标题"
android:textColor="@color/text_black"
android:textSize="@dimen/font_size_big" />

<ImageView
android:id="@+id/iv_image"
android:layout_width="match_parent"
android:layout_height="187dp"
android:layout_below="@id/tv_title"
android:layout_marginTop="5dp"
android:src="@drawable/default_news_cat_pic" />

<TextView
android:id="@+id/tv_desc"
style="@style/noraml_text_style"
android:layout_below="@id/iv_image"
android:layout_marginTop="7dp"
android:ellipsize="end"
android:lineSpacingExtra="2dp"
android:maxLines="2"
android:text="简介"
android:visibility="gone" />

</RelativeLayout>

Stack trace / LogCat:

paste stack trace and/or log here

Issue 2:
Hi,

first of all thank you for a great library. The issue started today when I updated to the newest Glide 4.0.0 from 4.0.0 RC1. Images everywhere started flickering when refreshing data (for example in the RecyclerView's notifyDatasetChanged method). Here is my helper class that I'm using for displaying images.

public class ImageManager {
public static ImageManager.Builder with(Context context) {
return new Builder(context);
}

public static class Builder {
private final RequestManager requestManager;
private RequestBuilder<Drawable> requestBuilder;

public Builder(Context context) {
requestManager = Glide.with(context);
}

public Builder load(String url) {
requestBuilder = requestManager.load(url);
return this;
}

public Builder load(Uri uri) {
requestBuilder = requestManager.load(uri);
return this;
}

public void clear(ImageView imageView) {
requestManager.clear(imageView);
}

public void into(ImageView imageView) {
RequestOptions requestOptions = new RequestOptions();
requestOptions = requestOptions.downsample(DownsampleStrategy.AT_LEAST);
if (ViewCompat.getTransitionName(imageView) != null) {
requestOptions = requestOptions.dontTransform();
}
requestBuilder.apply(requestOptions).thumbnail(0.1f).into(imageView);
}
}
}

Maybe this issue is related with this other issue, but I didn't have a problem with this on that version so I created a new topic.