Skip to content
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

FriendlyMessage friendlyMessage = snapshot.getValue(FriendlyMessage.class); get error #86

Open
yopetra opened this issue Oct 30, 2020 · 0 comments

Comments

@yopetra
Copy link

yopetra commented Oct 30, 2020

This string get error when trying to conver result of snapshot which is String to FriendlyMessage object.
Here is an error:
com.google.firebase.database.DatabaseException: Can't convert object of type java.lang.String to type com.example.android.firebaseapp01.FriendlyMessage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant