Vivek Sharma
01/10/2022, 3:46 PM@Entity
data class Note(
    val title: String,
    val content: String,
    val timestamp: Long,
    val color: Int,
    @PrimaryKey val id: Int? = null
)
and when I create Note object, and passing null  to id , what room will assign to it?
In my case it is assigning 1, 2, 3, 4...  like it is autoGenerating, is this correct what I am thinking?hfhbd
01/10/2022, 3:52 PMephemient
01/10/2022, 4:34 PM