-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Step 4:Error: (58, 56) - in the line mRegistration = mQuery.addSnapshotListener(this); #12
Comments
@jadder you imported |
Error:(60, 56) error: incompatible types: FirestoreAdapter cannot be converted to EventListener it gives this error even though i imported the statement you said |
This issue still exists: I am also not sure how com.google.firebase.firestore.EventListener is related since addSnapshotListener has the following variants: |
@kroikie something for you to look at when you're tackling codelabs bugs. |
This issue is still there. Even after importing com.google.firebase.firestore.EventListener. Also, @OverRide gives error on onEvent method. |
Still same issue come |
mRegistration = mQuery.addSnapshotListener(this);
"this" is getting me this error.
NOTE: the interface EventLister is empty , so I just have to comment the
//@OverRide
public void onEvent(QuerySnapshot documentSnapshots, FirebaseFirestoreException e) {
Code bellow
The text was updated successfully, but these errors were encountered: