title: Why won't my Strings from Firebase show on myRecyclerView
body: <p><a href="https://i.stack.imgur.com/JDVCr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JDVCr.png" alt="enter image description here"></a></p>
  
  <p>My Database is like this and I've added to strings under a push() key. The problem is when I add it to my ArrayList it doesn't show anything in my RecyclerView.</p>
  
  <p>This is how I entered the strings into my Database, </p>
  
  <pre><code>mToFreezer.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View view) {
              SharedPreferences prefs = getActivity().getSharedPreferences("itemInfo", Context.MODE_PRIVATE);
                  String name = prefs.getString("Name1", null);
                  String date = prefs.getString("Date1", null);
  
  
              HashMap&lt;String, String&gt; dataMap = new HashMap&lt;&gt;();
              dataMap.put("Name", name);
              dataMap.put("Date", date);
  
              mDatabase.push().setValue(dataMap);
  </code></pre>
  
  <p>Then I retrieved it in another Activity by,</p>
  
  <pre><code>public RecyclerView mRecyclerView;
      public RecyclerView.LayoutManager mLayoutManager;
      public RecyclerView.Adapter mAdapter;
      public ArrayList&lt;Event&gt; mDataSet;
      public Button AddFreezerItems;
      private DatabaseReference mDatabase;
  
  // OnCreate
  
  mDataSet = new ArrayList&lt;&gt;();
      mDatabase = FirebaseDatabase.getInstance().getReference().child("FreezerItems");
      String mGroupId = mDatabase.push().getKey();
      mDatabase.keepSynced(true);
  
      mRecyclerView = findViewById(R.id.FreezerInventoryRecyclerView);
      mRecyclerView.setHasFixedSize(true);
      mLayoutManager = new LinearLayoutManager(this);
      mRecyclerView.setLayoutManager(mLayoutManager);
      mAdapter = new ItemRecyclerViewAdapter(mDataSet);
      mRecyclerView.setAdapter(mAdapter);
  
      AddFreezerItems = findViewById(R.id.addItemsFreezer);
  
  
      mDatabase.child(mGroupId).addChildEventListener(new ChildEventListener() {
          @Override
          public void onChildAdded(DataSnapshot dataSnapshot, String s) {
  
              for(DataSnapshot child : dataSnapshot.getChildren()) {
                  HashMap&lt;String, String&gt; value = (HashMap&lt;String,String&gt;) child.getValue();
                  if (value != null) {
                      String name = value.get("name");
                      String date = value.get("date");
                      mDataSet.add(new Event(name,date,null));
                      mAdapter.notifyDataSetChanged();
                  }
              }
  
          }
  
          @Override
          public void onChildChanged(DataSnapshot dataSnapshot, String s) {
  
          }
  
          @Override
          public void onChildRemoved(DataSnapshot dataSnapshot) {
  
          }
  
          @Override
          public void onChildMoved(DataSnapshot dataSnapshot, String s) {
  
          }
  
          @Override
          public void onCancelled(DatabaseError databaseError) {
  
          }
      });
  </code></pre>
  
  <p>I have tried everything from putting the data as an ArrayList into Firebase and retrieving it using <code>GenericTypeIndicator</code>, and anything else I could find</p>
  
  <blockquote>
    <p>UPDATE My Adapter</p>
  </blockquote>
  
  <pre><code>    public class ItemRecyclerViewAdapter extends RecyclerView.Adapter&lt;ItemRecyclerViewAdapter.ViewHolder&gt;{
  
      private ArrayList&lt;Event&gt; mDataSet;
  
      public ItemRecyclerViewAdapter(ArrayList&lt;Event&gt; mDataset){
          this.mDataSet = mDataset;
      }
  
      @Override
      public ItemRecyclerViewAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
          View v = LayoutInflater.from(parent.getContext())
                  .inflate(R.layout.recycler_view_row_inventory, parent, false);
  
          ViewHolder vh = new ViewHolder(v);
          return vh;
      }
  
      @Override
      public void onBindViewHolder(ItemRecyclerViewAdapter.ViewHolder holder, int position) {
          Event product = mDataSet.get(position);
          holder.mItemName.setText(product.getName());
          holder.mItemDate.setText(product.getDate());
  
      }
  
      @Override
      public int getItemCount() {
          return mDataSet.size();
      }
  
      public class ViewHolder extends RecyclerView.ViewHolder {
  
          private TextView mItemName;
          private TextView mItemDate;
  
          private ViewHolder(View itemView) {
              super(itemView);
              mItemName = itemView.findViewById(R.id.ItemNameTxtView);
              mItemDate = itemView.findViewById(R.id.expirationDateTxtView);
          }
      }
  }
  </code></pre>