-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
FirestoreRecyclerAdapter no virtual method getDocument #1210
Comments
Could post the output of |
Full output: Configure project :app
Root projectNo configurations BUILD SUCCESSFUL in 2s Double checked if google-services.json is missing but it's placed in the projects app folder. |
Oh, my B. Could you run |
Attached in textfile since its a pretty big output. |
Huh, your dependencies look good to me. Are you using multidex? |
Multidex is not enabled. |
@jvergers thank you for this report, I got someone who mentioned this to me directly via email so it appears this is a real issue. With the other report, it seems the problem comes from mixing Firebase dependencies |
The more I look at it, I also think this could be related to the newly added |
Downgrading Firebase to |
Change-Id: I411900f48c7402a9b13a4ac89d7abd25aa2bdaf4
This issue generated by proguard-rules. need to proguard-rules for that issue. |
This issue has been fixed and released in |
I am currently converting my Firebase UI components to Firestore UI components. When building the
FirestoreRecyclerAdapter
and manually call theadapter.startListening()
or initialize it vianew FirestoreRecyclerOptions.Builder().setLifeCycleOwner()
I stumble on the following fatal exception.The error states that the class
DocumentSnapshot
doesn't contain a methodgetDocument
which after checking is correct. However this is also how the docs states this implementation.The adapter with query
FirebaseUI dependencies
The adapter is being initialized in the
onCreateView
method of a fragment.The text was updated successfully, but these errors were encountered: