I get an error when casting HashMap to my custom class

前端 未结 0 1815
遥遥无期
遥遥无期 2021-01-30 22:23

Whenever I cast my snapshot.value to my custom class, I get: java.util.HashMap cannot be cast to com.<..>.models.User. snapshot.value = {fi

相关标签:
回答
  • 消灭零回复
提交回复
热议问题