With glide v4 default cross fade animation removed. I updated my Glide version to 4 and I want to set a default cross fade animation, not to set for every image load request.
I tried to do it in AppGlideModule extended class which name is "Generated API" at setDefaultTransitionOptions
but I failed.
How can I set default cross fade animation in Glide v4?
I did it with this code:
builder.setDefaultTransitionOptions(Drawable.class, DrawableTransitionOptions.withCrossFade());