Android Room property validate before saving to the database?

前端 未结 0 964
無奈伤痛
無奈伤痛 2021-01-24 12:44

I have a entity as follows

@Entity
data class User(
    @PrimaryKey 
    var id: String,

    var firstName: String,

    var lastName: String
) 

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