title: information of the user doesn't show in recyclerview in getting a specific value in a collection if firestore
body: <p>I'm working on a project where a user sends his/her order and the admin will receive it in order to prepare the said order to deliver it.</p>
  <p><strong>Problem</strong></p>
  <p>I'm having trouble fetching the data on the admin side when receiving the said order from the customer</p>
  <p>For some reason, only the time of the order appeared in the RecyclerView and the rest doesn't appear.</p>
  <p><a href="https://i.stack.imgur.com/NrrX2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NrrX2.jpg" alt="enter image description here" /></a></p>
  <p><em><strong>This is how it should appear if it works</strong></em></p>
  <p><a href="https://i.stack.imgur.com/TgYDu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TgYDu.png" alt="enter image description here" /></a></p>
  <p>I did the model and adapter right so I assume that the problem came to the recyclerview codes and I receive no error in the LogCat</p>
  <pre><code>     userOrderAdminRec = findViewById(R.id.admin_order_rcv);
          userOrderAdminRec.setLayoutManager(new LinearLayoutManager(this,RecyclerView.VERTICAL,false));
          adminUserDetailModelList = new ArrayList&lt;&gt;();
          adminUserDetailAdapter = new AdminUserDetailAdapter(this,adminUserDetailModelList);
          userOrderAdminRec.setAdapter(adminUserDetailAdapter);
  
          firestore.collection(&quot;UserOrder&quot;)
                  .get()
                  .addOnCompleteListener(new OnCompleteListener&lt;QuerySnapshot&gt;() {
                      @Override
                      public void onComplete(@NonNull Task&lt;QuerySnapshot&gt; task) {
                          if (task.isSuccessful()){
                              for (QueryDocumentSnapshot documentSnapshot : task.getResult()){
  
                                  AdminUserDetailModel adminUserDetailModel = documentSnapshot.toObject(AdminUserDetailModel.class);
                                  adminUserDetailModelList.add(adminUserDetailModel);
                                  adminUserDetailAdapter.notifyDataSetChanged();
  
                              }
                          }
                          else {
  
                              Toast.makeText(AdminOrderActivity.this, &quot;Error&quot;+task.getException(), Toast.LENGTH_SHORT).show();
                          }
                      }
                  });
  
  
  
      }
      private void orderList() {
        
  
          FirebaseFirestore db = FirebaseFirestore.getInstance();
          CollectionReference userCartOrder = db.collection(&quot;UserOrder&quot;).document().collection(&quot;CartID&quot;);
          CollectionReference userCartID = db.collection(&quot;ItemOrder&quot;);
  
          Query query = userCartID.whereEqualTo(&quot;CartID&quot;,userCartOrder);
  
          query.get().addOnCompleteListener(new OnCompleteListener&lt;QuerySnapshot&gt;() {
              @Override
              public void onComplete(@NonNull Task&lt;QuerySnapshot&gt; task) {
                  if (task.isSuccessful()){
                      for (QueryDocumentSnapshot documentSnapshot: task.getResult()){
                          AdminUserDetailModel adminUserDetailModel = documentSnapshot.toObject(AdminUserDetailModel.class);
                          adminUserDetailModelList.add(adminUserDetailModel);
                      }
                      adminUserDetailAdapter.notifyDataSetChanged();
                  }
                  else {
                      Toast.makeText(AdminOrderActivity.this, &quot;Query failed&quot;, Toast.LENGTH_SHORT).show();
                  }
              }
          });
  </code></pre>
  <p><em><strong>this is my collection in the firestore if it's needed</strong></em></p>
  <p><a href="https://i.stack.imgur.com/DUH1N.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DUH1N.jpg" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/Goqf5.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Goqf5.jpg" alt="enter image description here" /></a></p>
  <p><strong>AdminUserDetailModel</strong></p>
  <pre><code>public class AdminUserDetailModel {
  
      String name;
      String address;
      String phoneNumber;
      String cartID;
      String totalPrice;
      String currentTime;
      String itemList;
      String productName;
      String productQuantity;
  
      public AdminUserDetailModel() {
      }
  
      public AdminUserDetailModel(String name,String productName,String productQuantity, String address, String phoneNumber, String cartID, String totalPrice, String currentTime, String itemList) {
          this.name = name;
          this.address = address;
          this.phoneNumber = phoneNumber;
          this.cartID = cartID;
          this.totalPrice = totalPrice;
          this.currentTime = currentTime;
          this.itemList = itemList;
          this.productName = productName;
          this.productQuantity = productQuantity;
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  
      public String getAddress() {
          return address;
      }
  
      public void setAddress(String address) {
          this.address = address;
      }
  
      public String getPhoneNumber() {
          return phoneNumber;
      }
  
      public void setPhoneNumber(String phoneNumber) {
          this.phoneNumber = phoneNumber;
      }
  
      public String getCartID() {
          return cartID;
      }
  
      public void setCartID(String cartID) {
          this.cartID = cartID;
      }
  
      public String getTotalPrice() {
          return totalPrice;
      }
  
      public void setTotalPrice(String totalPrice) {
          this.totalPrice = totalPrice;
      }
  
      public String getCurrentTime() {
          return currentTime;
      }
  
      public void setCurrentTime(String currentTime) {
          this.currentTime = currentTime;
      }
  
      public String getItemList() {
          return itemList;
      }
  
      public void setItemList(String itemList) {
          this.itemList = itemList;
      }
  
      public String getProductName() {
          return productName;
      }
  
      public void setProductName(String productName) {
          this.productName = productName;
      }
  
      public String getProductQuantity() {
          return productQuantity;
      }
  
      public void setProductQuantity(String productQuantity) {
          this.productQuantity = productQuantity;
      }
  }
  
  </code></pre>