title: Constructor error when using FirebaseListAdapter
body: <p>I am trying to use FirebaseListAdapter to create a ListView that contains product names, but I'm getting this error:</p>
  
  <pre><code>error: no suitable constructor found for
  FirebaseListAdapter(MainActivity,Class&lt;String&gt;,int,Firebase) constructor
  FirebaseListAdapter.FirebaseListAdapter(Activity,Class&lt;String&gt;,int,Query)
  is not applicable
  </code></pre>
  
  <p>I have the latest version of Google Play Services and Google Repository as shown in this screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/aSyJp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aSyJp.png" alt="enter image description here"></a></p>
  
  <p>My build.gradle (root) is:</p>
  
  <pre><code>dependencies {
      classpath 'com.android.tools.build:gradle:2.2.2'
      classpath 'com.google.gms:google-services:3.0.0'
  }
  </code></pre>
  
  <p>and my build.gradle (app) is:</p>
  
  <pre><code>    dependencies {
      compile fileTree(include: ['*.jar'], dir: 'libs')
      androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
      exclude group: 'com.android.support', module: 'support-annotations'
      })
      testCompile 'junit:junit:4.12'
      compile 'com.android.support:appcompat-v7:25.0.1'
      compile 'com.google.firebase:firebase-core:10.0.1'
      compile 'com.google.firebase:firebase-database:10.0.1'
      compile 'com.google.firebase:firebase-auth:10.0.1'
      compile 'com.firebase:firebase-client-android:2.4.0'
      compile 'com.firebaseui:firebase-ui:0.4.1'
  
  }
  apply plugin: 'com.google.gms.google-services'
  </code></pre>
  
  <p>The code that I'm using is this:</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
      Firebase firebase;
      ArrayList&lt;String&gt; arrayList = new ArrayList&lt;&gt;();
      ListView listView;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      Firebase.setAndroidContext(this);
      firebase = new Firebase(Config.FIREBASE_URL);
      listView = (ListView) findViewById(R.id.listView);
      }
  
      @Override
      protected void onStart() {
      super.onStart();
  
      Firebase products = firebase.child("names");
      FirebaseListAdapter&lt;String&gt; adapter = new FirebaseListAdapter&lt;String&gt;(this, String.class, String.class, android.R.layout.simple_list_item_1, products) {
          @Override
          protected void populateView(View v, String model, int position) {
          //
          }
      };
      }
  }
  </code></pre>
  
  <p>I tried all the solutions that I found for similar issues, but no luck. Thanks in advance!</p>