title: A Problem with the Recycler View or with The collection Query from Firebase
body: <p>I'm getting stuck on fetching data to the recycler View I don't Know Where is the problem exactly
  if it is from the Firebase Query or from setting up the adapter for the recycler view, the recyclerview creates the exact number of the items that exist in the Firebase but, No information to be shown this is what I tried</p>
  <p>FireBase</p>
  <pre><code>fun GetProductsList (fragment : Fragment) {
          var productList: ArrayList&lt;Products&gt; = ArrayList()
          mFireStore.collection(&quot;products&quot;)
              .get()
              .addOnSuccessListener { docSnapshot -&gt;
  
                  for (document in docSnapshot.documents) {
                      val productToAddToList : Products = document.toObject(Products::class.java)!!
                      productList.add(productToAddToList!!)
                  }
                  when (fragment) {
                      is AdminProductFragment -&gt; {
                          fragment.SuccesProductListFromFireStore(productList)
                      }
                  }
  </code></pre>
  <p>Adapter</p>
  <pre><code>toverride fun onBindViewHolder(holder: RecyclerView.ViewHolder, position: Int) {
              val Model = productsList[position]
          if (holder is MyViewHolder ) {
              GlideLoader(context).loadProductPicture(Model.Image, holder.itemView.iv_item_image)
              holder.itemView.tv_item_name.text = Model.Name.toString()
              holder.itemView.tv_item_price.text = &quot;${Model.Price.toString()} DZA&quot;
          }
      }
  </code></pre>
  <p>And This</p>
  <pre><code>if (productList.size &gt; 0 ) {
              recyclerViewProduct.visibility = View.VISIBLE
              text_no_productFounds.visibility = View.GONE
              recyclerViewProduct.layoutManager = LinearLayoutManager(activity)
              recyclerViewProduct.setHasFixedSize(true)
              val adapterProduct = MyProductsListAdapter(requireActivity(), productList)
              recyclerViewProduct.adapter = adapterProduct
          }else{
              recyclerViewProduct.visibility = View.GONE
              text_no_productFounds.visibility = View.VISIBLE
          }
  </code></pre>