error “java.lang.StackOverflowError:” when try to save object in Firebase Database

后端 未结 1 1069
滥情空心
滥情空心 2020-12-11 06:57

I am new to the firebase. I tried to save the properties of the users listed in my application into the database Firebase, this is code

mAuthLi         


        
相关标签:
1条回答
  • 2020-12-11 07:26

    Your Member class contains a field of type Uri. Uri is not one of the native types that Firebase serializes.

    Change your Member class to store the Uri as a String and use Uri.toString() and Uri.parse() to convert.

    0 讨论(0)
提交回复
热议问题