title: Empty Row in Firebase UI with Condition?
body: <p>I have a problem with Firebase when using FirebaseUI. It adds an unwanted empty row when the condition is not <code>true</code>.</p>
  
  <p>I need to delete this Empty Row.</p>
  
  <p>this is the image Show the problem : </p>
  
  <p><img src="https://i.stack.imgur.com/62IVj.png" alt="enter image description here"></p>
  
  <pre><code> DatabaseReference databaseReference = FirebaseDatabase.getInstance().getReferenceFromUrl("*****");
       FirebaseListAdapter&lt;Opinions&gt; firebaseListAdapter = new FirebaseListAdapter&lt;Opinions&gt;(this,Opinions.class,android.R.layout.two_line_list_item,databaseReference) {
           @Override
           protected void populateView(View v, Opinions model, int position) {
               TextView textView1 = (TextView) v.findViewById(android.R.id.text1);
               TextView textView2 = (TextView) v.findViewById(android.R.id.text2);
  
               Typeface Myfont = Typeface.createFromAsset(getAssets(), "font/gernralfont.ttf");
  
               textView1.setTypeface(Myfont);
               textView2.setTypeface(Myfont);
               textView2.setTextSize(17);
               textView2.setTextColor(Color.parseColor("#6eaafc"));
               textView1.setTextColor(Color.parseColor("#4d70a0"));
  
               if (model.isApproval() == true)
               {
                   textView1.setText( "\n" + model.getStu_name() + " / " + model.getStu_feild() + "\n" );
                   textView2.setText(model.getStu_comment() + "\n");
               }
  
  
  
           }
       };
  
      hilist.setAdapter(firebaseListAdapter);
  </code></pre>
  
  <p>How I can remove this empty line?</p>