How to store List<Object> in Room database? (I'm having trouble retrieving the list with DAO query)
问题 I am storing Device objects in a Room database and I'm having a problem with retrieving one of the attributes (temp_values) that is a list of floats. I've followed other advice found on here that says you need a type converter so I've shown that here. When I try to compile I get this error: "warning: The query returns some columns [temp_values] which are not used by java.lang.Float. You can use @ColumnInfo annotation on the fields to specify the mapping. You can suppress this warning by