title: FirebaseRecyclerAdapter is not displaying data in my RecyclerView layout
body: <p>Please note there are lot of questions like these but none of them worked for me.
  I have been trying to display data in a recycler view and it isnt displaying the data and not throwing any errors
  Here is my code.</p>
  
  <p>I have included the latest version of Firebase Dependencies and Latest version of Firebase UI Database</p>
  
  <p><strong>Dependencies Version</strong></p>
  
  <pre><code>// Firebase
  implementation 'com.google.firebase:firebase-auth:19.2.0'
  implementation 'com.google.firebase:firebase-database:19.2.1'
  implementation 'com.google.firebase:firebase-storage:19.1.1'
  
  // Firebase UI
  implementation 'com.firebaseui:firebase-ui-database:6.0.2'
  </code></pre>
  
  <p>This is the Films class
  <strong>Films.java</strong> </p>
  
  <pre><code>package com.dipeshpatil.in;
  
  public class Films {
  
      public String name, year;
  
      public Films(String name, String year) {
          this.name = name;
          this.year = year;
      }
  
      public Films() {
  
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  
      public String getYear() {
          return year;
      }
  
      public void setYear(String year) {
          this.year = year;
      }
  }
  </code></pre>
  
  <p>This is the ViewHolder Class <strong>FilmsViewHolder.java</strong></p>
  
  <pre><code>package com.dipeshpatil.in;
  
  import android.view.View;
  import android.widget.TextView;
  
  import androidx.recyclerview.widget.RecyclerView;
  
  public class FilmsViewHolder extends RecyclerView.ViewHolder {
      public TextView mFilmName;
      public TextView mFilmYear;
  
      public FilmsViewHolder(View itemView){
          super(itemView);
  
          mFilmName = itemView.findViewById(R.id.user_single_name);
          mFilmYear = itemView.findViewById(R.id.user_single_status);
      }
  }
  </code></pre>
  
  <p>This is the activity where i am supposed to display the data in recycler view <strong>FilmsActivity.java</strong></p>
  
  <pre><code>public class FilmsActivity extends AppCompatActivity {
  
      private RecyclerView mFilmsList;
      private DatabaseReference mFilmsDatabase;
      private FirebaseRecyclerOptions&lt;Films&gt; options;
      private FirebaseRecyclerAdapter&lt;Films, FilmsViewHolder&gt; adapter;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_films);
  
          mFilmsList = findViewById(R.id.films_list);
          mFilmsList.setHasFixedSize(true);
  
          mFilmsDatabase = FirebaseDatabase.getInstance().getReference().child("Films");
  
          options = new FirebaseRecyclerOptions.Builder&lt;Films&gt;()
                  .setQuery(mFilmsDatabase, Films.class)
                  .build();
  
          adapter = new FirebaseRecyclerAdapter&lt;Films, FilmsViewHolder&gt;(options) {
              @Override
              protected void onBindViewHolder(FilmsViewHolder filmsViewHolder, int i, Films films) {
  
                  filmsViewHolder.mFilmName.setText(films.getName());
                  filmsViewHolder.mFilmYear.setText(films.getYear());
              }
  
              @NonNull
              @Override
              public FilmsViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
  
                  View mView = LayoutInflater.from(parent.getContext())
                          .inflate(R.layout.users_single_layout, parent, false);
  
                  return new FilmsViewHolder(mView);
              }
          };
          mFilmsList.setAdapter(adapter);
      }
  
      @Override
      protected void onStart() {
          super.onStart();
          adapter.startListening();
      }
  
      @Override
      protected void onStop() {
          super.onStop();
          adapter.stopListening();
      }
  }
  </code></pre>
  
  <p>Now honestly i am not getting any kind of error which would help me debug the code and check for problems and at the same time it is also not displaying my desired output</p>
  
  <p><strong>Firebase Database for Films</strong></p>
  
  <pre><code>"Films" : {
      "01" : {
        "name" : "The Prestige",
        "year" : 2002
      },
      "02" : {
        "name" : "Fight Club",
        "year" : 1999
      }
  }
  </code></pre>
  
  <p>Layout File <strong>activity_films.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:orientation="vertical"
      tools:context=".FilmsActivity"&gt;
  
      &lt;androidx.recyclerview.widget.RecyclerView
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:padding="16dp"
          android:id="@+id/films_list" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>