FirebaseUI 'Cannot Resolve FirebaseListAdapter Constructor'
<p>I am trying to use FirebaseListAdapter to create a simple ListView of all the keys, but I am facing some difficulties with the constructor.</p>

<p>Here is my code:</p>

<p><strong>build.gradle file firebase dependencies</strong></p>

<pre><code>compile 'com.google.firebase:firebase-database:9.4.0'
compile 'com.google.firebase:firebase-auth:9.4.0'
compile 'com.firebase:firebase-client-android:2.3.1'
compile 'com.firebaseui:firebase-ui:0.4.3'
</code></pre>

<p><strong>fragment containing the list view</strong></p>

<pre><code>// Only showing firebase imports
import com.firebase.ui.database.FirebaseListAdapter;
import com.google.firebase.database.DataSnapshot;
import com.google.firebase.database.DatabaseError;
import com.google.firebase.database.DatabaseReference;
import com.google.firebase.database.FirebaseDatabase;
import com.google.firebase.database.ValueEventListener;

public class UpcomingBookings extends Fragment {
    private String title;
    private ListView bookingsList;
    private ArrayList&lt;String&gt; bookings;

    DatabaseReference mDatabase;
    DatabaseReference userBookingsDatabase;

    @Override
    public void onCreate(Bundle savedInstanceState){
        super.onCreate(savedInstanceState);
        mDatabase = FirebaseDatabase.getInstance().getReference().child("Users");
        userBookingsDatabase = mDatabase.child(userID).child("Bookings");

        // The problematic ListAdapter constructor
        ListAdapter firebaseListAdapter = new FirebaseListAdapter&lt;String&gt;(getContext(),String.class, android.R.layout.simple_list_item_1,userBookingsDatabase) {
            @Override
            protected void populateView(View view, String s, int i) {

            }
        };

    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState){
        View view = inflater.inflate(R.layout.fragment_upcoming_bookings,container,false);
        return view;
    }
}
</code></pre>

<p>Currently, I'm getting the error <code>Cannot resolve constructor</code>, and I have already tried the methods suggested in other related stackoverflow questions (e.g using newest version of firebase, changing import statement). What should I do?</p>