Cant Use Getref()?
Can anyone explain why this is saying I can not use getRef to get the position that is being clicked? From everything I have looked up, this should work and for some reason it is n
Solution 1:
You've declared restaurantListAdapter as a ListAdapter. Even when you put a FirebaseListAdapter object into that field, you can only access method that are defined on ListAdapter.
The solution is to also declare the field as a FirebaseListAdapter:
FirebaseListAdapter restaurantListAdapter;
Post a Comment for "Cant Use Getref()?"