title: Populate ListView with Firebase Adapter
body: <p>I'm receiving  these errors when I tried to populate a list view with firebase adapter using firebase UI   </p>
  
  <blockquote>
    <p>com.google.firebase.database.DatabaseException: Failed to convert
    value of type java.util.HashMap to String
                                                                               com.google.firebase.database.DatabaseException: Class
    java.util.HashMap has generic type parameters, please use
    GenericTypeIndicator instead</p>
  </blockquote>
  
  <p>Here Is the code </p>
  
  <pre><code>     DatabaseReference ref = FirebaseDatabase.getInstance().getReference();
       DatabaseReference a = ref.child("info");
  
          final FirebaseListAdapter&lt;String&gt; adapter =
                new FirebaseListAdapter&lt;String&gt;(this,String.class,android.R.layout.simple_list_item_1,a) {
                    @Override
                    protected void populateView(View v, String model, int position) {
  
                        TextView text = (TextView) findViewById(android.R.id.text1);
                        text.setText(model);
  
                    }
  </code></pre>
  
  <p>here is an example of json data</p>
  
  <pre><code> "info" : {
     "KSTUJILdwPN305Fs7ujhga4knlG3" : {
       "File Info" : {
         "-JFRkA855rfOU7GtcK4" : {
           "Name" : "John",
           "Adress" : "Test Adress",
           "Favourite_food" : "Bread",
         },
  </code></pre>