https://kotlinlang.org logo
#room
Title
# room
k

Khan

10/26/2021, 12:25 PM
Hi, Should we add @Keep with @Entity to avoid obfuscation. I assume data class with @Entity should not get obfuscated but in some cases it does.
Copy code
@Entity
data class Employees(
    @PrimaryKey val id: String, val name: String?
)
Thanks 🙂
y

yigit

10/30/2021, 9:18 PM
Room doesn't really care whether they are obfuscated or not. We don't use reflection to access entities
👍 1
k

Khan

11/02/2021, 3:23 PM
Thanks
9 Views