0

我正在使用领域 4.1.1

当尝试在 RealmObject 中使用 Realmlist 时,我们无法将其取回

RealmObject 数据成员如下:

@PrimaryKey private String product_id; private String product_name; private String specifications_sheet; private String brochure; private String product_warranty; private String product_description; private String model; private String sku; private String upc; private String quantity; private String image; private String manufacturer_id; private String manufacturer; private String retail_price; private String gold_price; private String trade_price; private String price_currency; private String trade_only; private String products_type; private String category_id; private String category_name; private String subcategory_id; private String subcategory_name; private RealmList<String> images = new RealmList<>();

在这里,当我尝试做时productDatas.getImages().size(),尺寸总是为零

请让我知道我哪里错了

4

0 回答 0