1
我想将对象插入到contentValues中。对象的结构是这样的:将复合对象插入到ContentValues中
public class A {
String x;
String y;
object B;
}
我想将对象插入到contentValues中。对象的结构是这样的:将复合对象插入到ContentValues中
public class A {
String x;
String y;
object B;
}
你不能把任意对象为ContentValues
。您可以在ContentValues
中查看documentation。我看到的唯一选择是如果您可以将对象转换为字节数组和从字节数组转换。