How to save nested List<String> in RoomDB on Android
问题 Hey google have an example on using @Relation @Entity public class Pet { int userId; String name; // other fields } public class UserNameAndAllPets { public int id; public String name; @Relation(parentColumn = "id", entityColumn = "userId") public List<Pet> pets; } Is it possible to save list of String without creating extra class for it. I want to avoid incosistence between my JsonProperty and a room Entity W would like to have soemthing like that public class UserNameAndAllPets {