Class is missing a constructor with no arguments - but I've provided a constructor

前端 未结 3 1317
孤城傲影
孤城傲影 2020-12-22 06:45

I am trying to retrieve the user\'s info after they log in from Firebase. I have the sneaking suspicion that this error isn\'t actually my problem - and has to deal with the

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-22 07:37

    Not sure about Kotlin(never used it) but i think the pojo field names have to match the Firebase entry name

    like:

    var Password: String = "",

    has the capital "P" but in your Firebase the "Password" is spelled with a lower case..

提交回复
热议问题