Why not receive the image from the Storage Firebase?

Why, when I register user via phone using firebase, it is some time displayed the image, and then not???
My guess is that I did not properly autoriser user.

Here's the code output.
firebaseFirestore.collection("users").document(user_id).get().addOnCompleteListener(new OnCompleteListener<DocumentSnapshot>() {
@Override
 public void onComplete(@NonNull Task<DocumentSnapshot> task) {
 if (task.isSuccessful()) {
if(task.getResult().exists()){
sub_btn.setEnabled(true);
sub_btn.setVisibility(View.GONE);
cansel_sub_btn.setEnabled(true);
cansel_sub_btn.setVisibility(View.GONE);
edit_btn.setVisibility(View.VISIBLE);
edit_btn.setEnabled(false);
 String name = task.getResult().getString("name");
 String surname = task.getResult().getString("surname");
 Full_name_text String = name + "" + surname;
 String username_text = task.getResult().getString("username");
 String avatar = task.getResult().getString("avatar");

full_name.setText(full_name_text);
username.setText(username_text);

edit_btn.setVisibility(View.VISIBLE);
sub_btn.setVisibility(View.GONE);
username.setText(username_text);

 PlaceholderReqFull RequestOptions = new RequestOptions();
placeholderReqFull.placeholder(R. drawable.defult_profile_icon);
Glide.with(ProfileActivity.this).setDefaultRequestOptions(placeholderReqFull).load(avatar).into(full_image);

 PlaceholderReq RequestOptions = new RequestOptions();
placeholderReq.placeholder(R. drawable.defult_profile_icon);
Glide.with(ProfileActivity.this).setDefaultRequestOptions(placeholderReq).load(avatar).into(imageAvtar);
 }
April 19th 20 at 12:25
0 answer

Find more questions by tags FirebaseAndroidJava