【发布时间】:2023-01-23 20:43:22
【问题描述】:
尝试从 Firestore 解析时间戳时出现此错误。
data class User(
val id: String,
val name: String,
val img: String,
val birth: Timestamp? = null
){
constructor() : this (
"",
"",
"",
)
}
我想解析 Firestore 日期以显示用户的生日。
【问题讨论】:
标签: android firebase kotlin google-cloud-firestore