title: firebaserecycleradapter() cannot be applied to FirebaseRecyclerAdapter
body: <p>Can someone please tell what's the error in that specific line.</p>
  
  <p><a href="https://i.stack.imgur.com/mUm89.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mUm89.jpg" alt="Here is the image"></a></p>
  
  <p>Here is the error message showing.</p>
  
  <p><a href="https://i.stack.imgur.com/cAxVx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cAxVx.png" alt="Error Message"></a></p>
  
  <pre><code>package com.example.souravkumar.sqaurewallpapers;
  
  import android.os.Bundle;
  import android.os.PersistableBundle;
  import android.support.annotation.Nullable;
  import android.support.v7.app.AppCompatActivity;
  import android.support.v7.widget.LinearLayoutManager;
  import android.support.v7.widget.RecyclerView;
  import android.view.View;
  import android.view.ViewGroup;
  import android.widget.ImageView;
  import android.widget.TextView;
  
  import com.firebase.ui.database.FirebaseRecyclerAdapter;
  import com.google.firebase.database.DatabaseReference;
  import com.google.firebase.database.FirebaseDatabase;
  import com.squareup.picasso.Picasso;
  
  /**
   * Created by Sourav Kumar on 11/3/2017.
   */
  
  public class popular extends AppCompatActivity {
  
      private RecyclerView recyclerView;
      private DatabaseReference myRef;
      @Override
      public void onCreate(@Nullable Bundle savedInstanceState, @Nullable PersistableBundle persistentState) {
          super.onCreate(savedInstanceState, persistentState);
          recyclerView = (RecyclerView) findViewById(R.id.recyclerView);
          recyclerView.setHasFixedSize(true);
          recyclerView.setLayoutManager(new LinearLayoutManager(this));
          myRef = FirebaseDatabase.getInstance().getReference();
          FirebaseRecyclerAdapter&lt;image_details, BlogViewHolder&gt; adapter = new FirebaseRecyclerAdapter&lt;image_details, BlogViewHolder&gt;(
                  image_details.class,
                  R.layout.individual_row,
  
                  myRef) {
              @Override
              protected void onBindViewHolder(BlogViewHolder holder, int position, image_details model) {
                  holder.setDate(model.getDate());
                  holder.setUrl(model.getUrl());
              }
  
              @Override
              public BlogViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
                  return null;
              }
          };
  
          recyclerView.setAdapter(adapter);
  
      }
  
      public static  class BlogViewHolder extends RecyclerView.ViewHolder {
          TextView textView;
          ImageView imageView;
          public BlogViewHolder(View itemView) {
              super(itemView);
              textView = (TextView)itemView.findViewById(R.id.date);
              imageView = (ImageView)itemView.findViewById(R.id.imageView);
          }
  
          public void setDate(Long date) {
              textView.setText(date.toString());
          }
  
          public void setUrl(String url) {
              Picasso.with(itemView.getContext())
                      .load(url)
                      .resize(50, 50)
                      .centerCrop()
                      .into(imageView);
          }
      }
  }
  </code></pre>
  
  <p><a href="https://gist.github.com/skumar001997/11bc60477417e674021857b55ad5f0e5" rel="nofollow noreferrer">Link to the whole code</a></p>