When using Android android-architecture-component room library, and I set a @Embedded(prefix = "xxx_")
to a Class field, got the warning after every build:
How to suppress the warning: Primary key constraint on id
is ignored when being merged into Foo
Thanks!
add @SuppressWarnings(RoomWarnings.PRIMARY_KEY_FROM_EMBEDDED_IS_DROPPED)
to History
class
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With