Shan
02/05/2020, 9:20 PMdata class Foo()
in my network library, but I would like to add an annotation to it in my Android app
module for use with my database.groostav
02/05/2020, 9:33 PMbezrukov
02/05/2020, 9:39 PM@Embedded
for entity declaration - you can just write data class FooEntity(@Embedded val foo: Foo)
only for schema generation, then you will be able to use Foo in all adapters (one note though - you will need to add targetEntity for @Insert
)Shan
02/05/2020, 9:44 PMShan
02/05/2020, 9:47 PMShan
02/05/2020, 9:49 PMbezrukov
02/05/2020, 10:15 PM