@Override
    public void onStop() {
        if (resource != null) {
            resource.stop();
        }
    }
Sets the drawable on the view using
{@link ImageView#setImageDrawable(android.graphics.drawable.Drawable)}.

@param resource The {@link android.graphics.drawable.Drawable} to display in the view.
core/src/main/java/com/bumptech/glide/request/target/GlideDrawableImageViewTarget.java