title: Set visibility of progress bar gone on completion of image loading using Glide library
body: <p>Hi I want to have a progress bar for image which will shown while image loading but when image loading will be completed I want to set it to gone. Earlier I was using Picasso library for this. But I don't know how to use it with Glide library. I have idea that some resource ready function is there but I don't know how to use it. Can anyone help me? </p>
  
  <p>Code for Picasso Library</p>
  
  <pre><code>Picasso.with(mcontext).load(imgLinkArray.get(position).mUrlLink)
         .into(imageView, new Callback() {
             @Override
             public void onSuccess() {
                 progressBar.setVisibility(View.GONE);
             }
  
             @Override
             public void onError() {
             }
          })
  ;
  </code></pre>
  
  <p>Now How Can I do this with Glide?</p>
  
  <pre><code>Glide.with(mcontext).load(imgLinkArray.get(position).mUrlLink)
       .into(imageView);
  </code></pre>
  
  <p>I am able to load image by this with Glide but how can I write <code>progressBar.setVisibility(View.GONE);</code> somewhere in code if image get loaded?</p>