O ouvinte Glide não funciona

Estou usando o Glide para carregar imagens e adicionei um ouvinte para saber quando o recurso está pronto ou se houve algum erro de qualquer tipo:

Glide.with(mContext)
    .load(url)
    .placeholder(R.drawable.glide_placeholder)
    // use dontAnimate and not crossFade to avoid a bug with custom views
    .dontAnimate()
    .diskCacheStrategy(DiskCacheStrategy.ALL)
    .listener(new RequestListener<String, GlideDrawable>() {
        @Override
        public boolean onException(Exception e, String model, Target<GlideDrawable> target, boolean isFirstResource) {
            // do something
            return true;
        }

        @Override
        public boolean onResourceReady(GlideDrawable resource, String model, Target<GlideDrawable> target, boolean isFromMemoryCache, boolean isFirstResource) {
            // do something
            return true;
         }
    })
    .into(mCustomImageView);

O aplicativo nunca roda dentroonResourceReady ouonException mas se eu remover o ouvinte e permitir o download assíncrono sem retorno de chamada, ele será executado corretamente:

Glide.with(mContext)
    .load(url)
    .placeholder(R.drawable.glide_placeholder)
    // use dontAnimate and not crossFade to avoid a bug with custom views
    .dontAnimate()
    .diskCacheStrategy(DiskCacheStrategy.ALL)
    .into(mCustomImageView);

Eu tentei tambem comGlideDrawableImageViewTarget em vez de o ouvinte receber retornos de chamada, mas o aplicativo é executado dentroonLoadStarted mas nunca corre por dentroonLoadCleared, onLoadFailed eonResourceReady.

questionAnswers(4)

yourAnswerToTheQuestion