title: Use Glide load into Imageview but delay
body: <p>I use Glide to load my ImageView from Firebase.</p>
  
  <p>When I am running my application, my ImageView will delay(like the tooth in my video),
  <a href="https://www.youtube.com/watch?v=6Mj0Xq3M8n0" rel="nofollow noreferrer">https://www.youtube.com/watch?v=6Mj0Xq3M8n0</a></p>
  
  <p>so I want to know why is this so,and this is my code:</p>
  
  <pre><code>private void setTooth() {
          for(int j=0;j&lt;tooth.length;j++) {
              final int finalJ = j;
              toothRef.child(j+1+"").addValueEventListener(new ValueEventListener() {
                  @Override
                  public void onDataChange(DataSnapshot dataSnapshot) {
                      if(dataSnapshot.exists()){
                          if(dataSnapshot.getValue().toString().trim().equals("b"))
                          {
                              imageRef.child("tooth_dirty").child(finalJ%16+1+"").addValueEventListener(new ValueEventListener() {
                                  @Override
                                  public void onDataChange(final DataSnapshot dataSnapshot) {
                                      Glide.with(Home_Activity.this)
                                              .load(Uri.parse(dataSnapshot.getValue().toString()))
                                              .diskCacheStrategy(DiskCacheStrategy.ALL)
                                              .into(tooth[finalJ]);
                                  }
  
                                  @Override
                                  public void onCancelled(FirebaseError firebaseError) {
  
                                  }
                              });
                          }
                          else
                          {
                              imageRef.child("tooth_clean").child(finalJ%16+1+"").addValueEventListener(new ValueEventListener() {
                                  @Override
                                  public void onDataChange(DataSnapshot dataSnapshot) {
                                      Glide.with(Home_Activity.this)
                                              .load(Uri.parse(dataSnapshot.getValue().toString()))
                                              .diskCacheStrategy(DiskCacheStrategy.ALL)
                                              .into(tooth[finalJ]);
                                  }
  
                                  @Override
                                  public void onCancelled(FirebaseError firebaseError) {
  
                                  }
                              });
                          }
                      }
                      else
                      {
                          for(int i=0;i&lt;tooth.length;i++)
                              toothRef.child(i+1+"").setValue("g");
                          setTooth();
                      }
                  }
  
                  @Override
                  public void onCancelled(FirebaseError firebaseError) {
  
                  }
              });
          }
      }
  </code></pre>
  
  <p>How can I solve my problem?</p>