Glide.with(context
.load(url).into(newCustomTarget<Drawable>(){@OverridepublicvoidonResourceReady(Drawable resource, Transition<Drawable> transition){// Do something with the Drawable here.}@OverridepublicvoidonLoadCleared(@Nullable Drawable placeholder){// Remove the Drawable provided in onResourceReady from any Views and ensure // no references to it remain.}});