title: Loading Text and Image from FireBase Database to a View Holder
body: <p>Need To Get the Text &amp; Image From FireBase Database And View them Using FireBase RecyclerAdapter But the Problem is:</p>
  <ul>
  <li>There is a red line Under <code>FirebaseRecyclerAdapter&lt;Category, MenuViewHolder&gt;</code>which said</li>
  </ul>
  <blockquote>
  <p>Class 'Anonymous class derived from FirebaseRecyclerAdapter' must either be declared abstract or implement abstract method 'onBindViewHolder(VH, int, T)' in 'FirebaseRecyclerAdapter'</p>
  </blockquote>
  <ul>
  <li>populateViewHolder I write it manully I think this method is depreciated.</li>
  </ul>
  <p><a href="http://tinyimg.io/i/b4nZuWq.PNG" rel="nofollow noreferrer">Click to See a Picture Which Shows the Problems</a></p>
  <pre><code>private void loadMenu() {
      FirebaseRecyclerAdapter&lt;Category,MenuViewHolder&gt; adapter = new FirebaseRecyclerAdapter&lt;Category, MenuViewHolder&gt; (Category.class , R.layout.menu_item , MenuViewHolder.class , category){
          @Override
          protected void populateViewHolder(@NonNull MenuViewHolder viewHolder, Category model, int position) {
              viewHolder.txtMenuName.setText(model.getName());
              Picasso.get().load(model.getImage()).into(viewHolder.ImageView);
              Category clickItem = model;
              viewHolder.setItemClickListener(new ItemClickListener() {
                  @Override
                  public void onClick(View view, int position, boolean isLongClick) {
                      Toast.makeText(Home.this, &quot;&quot; + clickItem.getName(), Toast.LENGTH_SHORT).show();
  
                  }
              });
          }
  
          @NonNull
          @Override
          public MenuViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
              return null;
   
  
         }
          };
          recycler_menu.setAdapter(adapter);
  }
  </code></pre>
  <p>Thanks A Lot</p>