Cannot Resolve Symbol Firebaselistadapter
How do I insert the FirebaseListAdapter correctly? I always get the error 'Can not resolve FirebaseListAdapter'. If you need something, I'll post it. The whole is supposed to spend
Solution 1:
The constructors of the adapters have changed in version 3.x. Please follow the instructions from the FirebaseUI documentation:
FirebaseListOptions<Chat> options = new FirebaseListOptions.Builder<Chat>()
.setQuery(query, Chat.class)
.build();
FirebaseListAdapter<Chat> adapter = new FirebaseListAdapter<Chat>(options) {
@Override
protected void populateView(View v, Chat model, int position) {
// Bind the Chat to the view
// ...
}
};
Post a Comment for "Cannot Resolve Symbol Firebaselistadapter"