title: RecyclerView is not showing data from Firebase on my app Screen
body: <p>I want to show firebase data on my app screen using recyclerview. My app is running without any error but data is not showing in the screen. 
  Please help
  Here is my code:
  Please check and help me to show data from firebase to app screen using recyclerview</p>
  
  <p><strong>VenuesActivity.java</strong></p>
  
  <pre><code>package com.cornicore.icccricketworldcup2019;
  
  import android.content.Context;
  import android.os.Build;
  import android.support.annotation.NonNull;
  import android.support.v7.app.AppCompatActivity;
  import android.os.Bundle;
  import android.support.v7.widget.LinearLayoutManager;
  import android.support.v7.widget.RecyclerView;
  import android.view.LayoutInflater;
  import android.view.View;
  import android.view.ViewGroup;
  import android.webkit.WebChromeClient;
  import android.webkit.WebSettings;
  import android.webkit.WebView;
  import android.webkit.WebViewClient;
  import android.widget.ImageView;
  import android.widget.ProgressBar;
  import android.widget.TextView;
  
  import com.firebase.ui.database.FirebaseRecyclerAdapter;
  import com.firebase.ui.database.FirebaseRecyclerOptions;
  import com.google.firebase.database.DatabaseReference;
  import com.google.firebase.database.FirebaseDatabase;
  import com.squareup.picasso.Picasso;
  
  public class VenuesActivity extends AppCompatActivity {
  
      private RecyclerView mBlogList;
      private DatabaseReference mDatabase;
  
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_venues);
  
  
          mDatabase = FirebaseDatabase.getInstance().getReference().child("Venues");
          mDatabase.keepSynced(true);
          mBlogList = (RecyclerView) findViewById(R.id.myrecyclerview);
          mBlogList.setHasFixedSize(true);
          mBlogList.setLayoutManager(new LinearLayoutManager(this));
  
  
  
      }
  
      FirebaseRecyclerOptions&lt;Blog&gt; options =
              new FirebaseRecyclerOptions.Builder&lt;Blog&gt;()
                      .setQuery(mDatabase, Blog.class)
                      .build();
  
      @Override
      protected void onStart() {
          super.onStart();
  
  
  
          FirebaseRecyclerAdapter adapter = new FirebaseRecyclerAdapter&lt;Blog, BlogViewHolder&gt;(options) {
              @Override
              public BlogViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
                  View view = LayoutInflater.from(parent.getContext())
                          .inflate(R.layout.venue_row, parent, false);
  
                  return new BlogViewHolder(view);
              }
  
              @Override
              protected void onBindViewHolder(BlogViewHolder holder, int position, Blog model) {
                  // Bind the image_details object to the BlogViewHolder
                  // ...
  
                  holder.setTitle(model.getTitle());
                  holder.setDesc(model.getDesc());
                  holder.setImage(getApplicationContext(),model.getImage());
  
              }
          };
  
  
  
  
  //        FirebaseRecyclerAdapter&lt;Blog,BlogViewHolder&gt; firebaseRecyclerAdapter = new FirebaseRecyclerAdapter&lt;Blog, BlogViewHolder&gt;
  //                (Blog.class,R.layout.venue_row,BlogViewHolder.class,mDatabase) {
  //            @Override
  //            protected void onBindViewHolder(@NonNull BlogViewHolder viewHolder, int position, @NonNull Blog model) {
  //
  //                viewHolder.setTitle(model.getTitle());
  //                viewHolder.setDesc(model.getDesc());
  //                viewHolder.setImage(getApplicationContext(),model.getImage());
  //
  //            }
  //
  //            @NonNull
  //            @Override
  //            public BlogViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
  //                return null;
  //            }
  //        };
  
          mBlogList.setAdapter(adapter);
  
      }
  
      public static class BlogViewHolder extends RecyclerView.ViewHolder{
          View mView;
          public BlogViewHolder(View itemView){
              super(itemView);
              mView = itemView;
          }
          public void setTitle(String title){
              TextView post_title = (TextView) mView.findViewById(R.id.post_title);
              post_title.setText(title);
          }
          public void setDesc(String desc){
              TextView post_desc = (TextView) mView.findViewById(R.id.post_desc);
              post_desc.setText(desc);
          }
          public void setImage(Context ctx, String image){
              ImageView post_Image = (ImageView) mView.findViewById(R.id.post_image);
              Picasso.with(ctx).load(image).into(post_Image);
          }
      }
  
  }
  </code></pre>
  
  <p>venuesactivity.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout
      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="match_parent"
      tools:context=".VenuesActivity"&gt;
  
      &lt;android.support.v7.widget.RecyclerView
          android:id="@+id/myrecyclerview"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
      &lt;/android.support.v7.widget.RecyclerView&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p><strong>Blog.java</strong></p>
  
  <pre><code>package com.cornicore.icccricketworldcup2019;
  
  public class Blog {
  
      private String title;
      private String desc;
      private String image;
  
      public Blog(String title, String desc, String image) {
          this.title = title;
          this.desc = desc;
          this.image = image;
      }
  
      public String getTitle() {
          return title;
      }
  
      public void setTitle(String title) {
          this.title = title;
      }
  
      public String getDesc() {
          return desc;
      }
  
      public void setDesc(String desc) {
          this.desc = desc;
      }
  
      public String getImage() {
          return image;
      }
  
      public void setImage(String image) {
          this.image = image;
      }
  
  
      public Blog(){
  
      }
  
  }
  </code></pre>
  
  <p><strong>venue_row.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:orientation="vertical"
      android:layout_margin="7dp"
      app:cardCornerRadius="12dp"
      android:elevation="90dp"&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="248dp"
          android:orientation="vertical"
          android:background="#121111"&gt;
  
          &lt;ImageView
              android:id="@+id/post_image"
              android:layout_width="match_parent"
              android:layout_height="180dp"
              android:scaleType="centerCrop"/&gt;
  
          &lt;TextView
              android:id="@+id/post_title"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:textSize="20dp"
              android:text="POST TITLE"
              android:textColor="#fff"/&gt;
  
          &lt;TextView
              android:id="@+id/post_desc"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="POST DESC"
              android:textColor="#fff"/&gt;
  
  
      &lt;/LinearLayout&gt;
  
  
  
  &lt;/android.support.v7.widget.CardView&gt;
  </code></pre>
  
  <p><strong>build.gradel</strong></p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 27
      defaultConfig {
          applicationId "com.cornicore.icccricketworldcup2019"
          minSdkVersion 17
          targetSdkVersion 27
          versionCode 1
          versionName "1.0"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation 'com.android.support:appcompat-v7:27.1.1'
      implementation 'com.android.support:recyclerview-v7:27.1.1'
      implementation 'com.android.support:design:27.1.1'
      implementation 'com.android.support:cardview-v7:27.1.1'
      implementation 'com.android.support.constraint:constraint-layout:1.1.0'
      implementation 'com.google.firebase:firebase-core:15.0.2'
      implementation 'com.google.firebase:firebase-messaging:15.0.2'
      implementation 'com.google.firebase:firebase-database:15.0.1'
      implementation 'com.google.firebase:firebase-storage:15.0.2'
      implementation 'com.google.firebase:firebase-auth:15.1.0'
      implementation 'com.firebaseui:firebase-ui-database:3.2.2'
      implementation 'com.squareup.picasso:picasso:2.5.2'
      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:1.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  }
  
  apply plugin: 'com.google.gms.google-services'
  </code></pre>